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.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too