A little javascript and middleware work together to ensure that the user was active during the past X minutes in any tab he has open. Otherwise, display a warning leaving a couple of minutes to show any kind of activity like moving the mouse. Otherwise, logout the user.
I've been using this package with success. It was very easy to install and use.
I'd like to set longer warning and expiration timeouts if the logged in user is staff (request.user.is_staff) or a superuser (request.user.is_superuser).
Is there any way to do this with the current version? If not, I would appreciate this enhancement.
I've been using this package with success. It was very easy to install and use.
I'd like to set longer warning and expiration timeouts if the logged in user is staff (request.user.is_staff) or a superuser (request.user.is_superuser).
Is there any way to do this with the current version? If not, I would appreciate this enhancement.