Disable Drupal User

Categories

Component ID

2313027

Component name

Disable Drupal User

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Overview

This module is a lightweight project that allows a site administrator to hide and restrict Paths, Forms and Tabs of Drupal Core User to certain user roles.
It's oriented to be used with other modules like:
Drupal for Facebook
Facebook Connect
etc..

Features

It can disable and remove Paths, Forms and Tabs to:

  • User Login
  • Reset Password
  • User registration
  • Edit profile

Restrictions can be limited to selectable roles.
Logging of blocked paths.

Settings

Module settings are placed in Configuration -> People -> Account settings
admin/config/people/accounts

Emergency Mode

If you can't login using other alternative modules and need to reactivate Drupal Core User system, simply add this line in the top of your index.php and you will be able to use yourdomain.com/user again.

<?php
$_disable_drupal_user_off = TRUE;
...