Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Administrator
/
chatgpt.ai-pro.org
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
3
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5ae7a722
authored
2023-04-12 18:42:07 +0800
by
Jonille Arreglo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
27190_loggedin
1 parent
5cb67ea8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
client/public/index.html
client/public/index.html
View file @
5ae7a72
...
...
@@ -30,7 +30,7 @@
<script>
let
aiUser
=
btutil_getCookie
(
'aiwp_logged_in'
);
if
(
!
aiUser
)
{
//
window.location.href = '%REACT_APP_AUTH_FAILED_REDIRECTION_URL%';
window
.
location
.
href
=
'%REACT_APP_AUTH_FAILED_REDIRECTION_URL%'
;
}
else
{
let
objBody
=
{
aiwp_logged_in
:
aiUser
};
...
...
@@ -42,7 +42,7 @@
function
cbCheckAuthentication
(
res
)
{
// console.log(res);
if
(
!
res
.
success
)
{
//
window.location.href = '%REACT_APP_AUTH_FAILED_REDIRECTION_URL%';
window
.
location
.
href
=
'%REACT_APP_AUTH_FAILED_REDIRECTION_URL%'
;
}
else
{
document
.
getElementById
(
"root"
).
classList
.
add
(
"active"
);
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment