Disable User 1
Security covered
The Disable User 1 module provides a simple solution to disable the user with ID 1 in Drupal. This module checks for a configuration setting in the settings.php file to determine whether to disable user 1. When enabled and configured appropriately, it ensures that user 1 is logged out upon accessing any page, thus preventing access to the site with the administrator account.
You can enable the module on production environment by adding the following:
$config['disable_user_1.settings']['disable_user_1'] = TRUE;
Sponsored and developed by:
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.