intwebg / silverstripe-maintenance-mode
Maintenance mode
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/intwebg/silverstripe-maintenance-mode
Requires
This package is auto-updated.
Last update: 2025-09-29 02:43:55 UTC
README
Easy way to put website in maintenance
- Add a checkbox in the LeftAndMain Settings menu inside Access tab to enable maintenance mode and will only visible unless a
MaintenanceModePage
page will be created - An error message will be displayed when non-admin users try to log in. Currently applyied on default
LoginHandler
* - Configurable content and error type available in
MaintenanceModePage
* If you have another way to validate the login process (ex. MFA), you must change this to:
config.yml:
SilverStripe\Core\Injector\Injector:
SilverStripe\MFA\Authenticator\LoginHandler:
class: IntWebG\MaintenanceModeLoginHandler
*todos:
- Add task to create automatically the MaintenanceModePage