Open ghost opened 7 years ago
What should the maintenance mode do or change?
When the maintenance mode is activated the whole system is closed, but only the system administrators would have access.
Isn't that a feature on the program side of things and not in the authentication module? You have an internal flag for maintenance mode which makes you authentication checks only care about admin status?
I think it would be better to create a config option to allow login only for admins.
I'll add this feature with v3.0.0
It would be great if this option existed within the authentication system, a maintenance mode for the system.