tofi86/redmine_maintenance_mode — pull request #3 by jgonzalezdr (2014-08-07 18:05:52+00:00)
Title: Automatic logoff of non-admin users and redirection to login page.

Non-admin users are automatically logged out when the system is under maintenance, and redirected
to the login screen. In the login screen a banner is shown on the top displaying the maintenance
message set by the administrator. This way, admin users can log in even under maintenance.

BTW, fixes issue #2 and the maintenance mode user experience for non-admins is a bit better.