update
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
| 30 | <script> | 30 | <script> |
| 31 | let aiUser = btutil_getCookie('aiwp_logged_in'); | 31 | let aiUser = btutil_getCookie('aiwp_logged_in'); |
| 32 | if(!aiUser) { | 32 | if(!aiUser) { |
| 33 | window.location.href = '%REACT_APP_AUTH_FAILED_REDIRECTION_URL%'; | 33 | //window.location.href = '%REACT_APP_AUTH_FAILED_REDIRECTION_URL%'; |
| 34 | } else { | 34 | } else { |
| 35 | let objBody = { aiwp_logged_in: aiUser }; | 35 | let objBody = { aiwp_logged_in: aiUser }; |
| 36 | 36 | ||
| ... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
| 42 | function cbCheckAuthentication(res) { | 42 | function cbCheckAuthentication(res) { |
| 43 | // console.log(res); | 43 | // console.log(res); |
| 44 | if (!res.success) { | 44 | if (!res.success) { |
| 45 | window.location.href = '%REACT_APP_AUTH_FAILED_REDIRECTION_URL%'; | 45 | //window.location.href = '%REACT_APP_AUTH_FAILED_REDIRECTION_URL%'; |
| 46 | } else { | 46 | } else { |
| 47 | document.getElementById("root").classList.add("active"); | 47 | document.getElementById("root").classList.add("active"); |
| 48 | } | 48 | } | ... | ... |
-
Please register or sign in to post a comment