added user api

This commit is contained in:
2021-08-17 20:47:24 +05:30
parent d154debdf3
commit 761e56732d
46 changed files with 208 additions and 2 deletions

View File

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