Issue with Admin login

mohithpranav

New member
1770915804881.webp


Both the Admin and Api repo of Talawa is in running, but im geting this issue while login as admin, Can someone help with this!!
i have also cleared the local storage in browser
 
Issue was :

The API returns inactivityTimeoutDuration: null, which overwrites the default 30-minute timeout. This causes null * 60 * 1000 = 0ms → session expires instantly.

Fix: Add null check in
if (sessionTimeoutData && sessionTimeoutData.inactivityTimeoutDuration) {
setSessionTimeout(sessionTimeoutData.inactivityTimeoutDuration);
}

Post fix: Now its working fine

1771051516478.webp
 
Last edited:
Back
Top