Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Drupal module providing an admin-only mode
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
This module provides a less-disruptive alternative to placing your site in full maintenance mode. It allows you to place your site into an admin-only mode, so that only the user with uid 1 is able to login. All other users are logged out automatically and cannot login again until the site leaves admin-only mode. Anonymous users are unaffected by this mode. If you need to stop anonymous users from posting comments or other actions, you should consider the readonlymode or mode modules instead of or in addition to this module. To use this module, simply install it and either: * Enable it on the maintenance settings page (admin/settings/site-maintenance). -or- * Run drush admin-only-mode 1 Many thanks to the readonlymode module for the coding examples. AUTHOR/MAINTAINER ====================== -Ben Claar ben at claar DOT net