You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried it with Chrome and Firefox on Mac. Couldn't reproduce negative numbers. The countdown works and the popup goes after the timeout, but also noticed that it doesn't log user out, just reloads page.
@sebp999 It seems to happen to me when I have the site open, and I then focus on another tab. The popup will show up eventually. but I assume because I am no longer on that tab, the script execution fails, or something like that. Not 100% sure.
That being said, it is supposed to log the user out though. The way it was designed was:
Django has a session duration setting X implemented after which the session is terminated (user is logged out) if there has been no activity
The popup is designed to show up at X - 2 minutes.
Then, at the end of the countdown, reloading is enough to show that the session was terminated automatically by Django (a reload is necessary as Django doesn't auto-reload on session end).
I think there's some middleware involved in this process too in the deploy directory.
Would you be able to check:
if my point about the other tab is correct and
why, in your case, the reload didn't log the user out
Describe the bug
The auto-logout popup which counts down goes into negative numbers and doesn't log you out.
To Reproduce
Not sure what conditions this trigerred.
Expected behaviour
Popup should close and log you out.
Screenshots
The text was updated successfully, but these errors were encountered: