added user api

This commit is contained in:
2021-08-17 20:40:30 +05:30
parent afc6857e14
commit d154debdf3
46 changed files with 2 additions and 207 deletions

View File

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