added user api

This commit is contained in:
2021-08-17 20:34:56 +05:30
parent 6e5c8ea47b
commit afc6857e14
9 changed files with 16 additions and 16 deletions

View File

@ -63,11 +63,11 @@ const TheContent = () => {
const shib = cookies.get('_shibsession_64656661756c7468747470733a2f2f66736273736f2e73756d6173656e2e6e65742f73686962626f6c657468')
if (shib !== undefined) {
fetchSession().then(() => {
if (SsoSession.includes('Session Expiration')) {
if (SsoSession !== null && SsoSession.includes('Session Expiration')) {
fetchUser().then(() => {
console.log(UserData);
});
return true;
});
}
});
} else {