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
//On mobile js is paused, so see if this was triggered while we were sleepingif (diff >= session.warningTimeout || warning <= session.minWarning) {
$("#mdlLoggedOut").modal("show");
} else {
To make sure I understand the code correctly: Let's say warningTimeout is 10 minutes, and minWarning is 5 seconds.
This will logout the user if they are on a different app for 10 or more minutes, which make sense.
But wouldn't the warning <= session.minWarning logout the user if they went to an app for less than 5 seconds? I think it's supposed to be warning >= session.minWarning.
If am wrong about this, could you please tell me why? Thanks in advance.
The text was updated successfully, but these errors were encountered:
For the autologout demo, on lines 147+
To make sure I understand the code correctly:
Let's say warningTimeout is 10 minutes, and minWarning is 5 seconds.
This will logout the user if they are on a different app for 10 or more minutes, which make sense.
But wouldn't the
warning <= session.minWarning
logout the user if they went to an app for less than 5 seconds? I think it's supposed to bewarning >= session.minWarning
.If am wrong about this, could you please tell me why? Thanks in advance.
The text was updated successfully, but these errors were encountered: