Skip to content

Logout all users except superusers #191

Open
@williwacker

Description

@williwacker

I have set:

MAINTENANCE_MODE_IGNORE_SUPERUSER = True
MAINTENANCE_MODE_LOGOUT_AUTHENTICATED_USER = True

When activating the maintenance mode also the superuser gets logged out and has no change to sign-in again.
With this combination I wish the superuser can stay in and all authenticated users get logged off?

I would even do the check later and provide the user with the login screen. If not a superuser login will fail with 503, but a superuser can login.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions