Skip to content
Drupal module providing an admin-only mode
Branch: master
Clone or download

Latest commit

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).
* Run drush admin-only-mode 1

Many thanks to the readonlymode module for the coding examples.

-Ben Claar
ben at claar DOT net
You can’t perform that action at this time.