-
-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I think it would be useful to add a new setting to expire the user session. In combination with MAINTENANCE_MODE_IGNORE_ANONYMOUS_USER = True
, you would let a logged user navigate the site as an anonymous user. It would be simple to implement, basically just adding the following under the middleware.py
module:
if settings.MAINTENANCE_MODE_EXPIRE_SESSION and request.user.is_authenticated():
logout(request)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Projects
Status
Done