function user_restrictions_form_user_login_alter in User restrictions 7
Implements hook_form_FORM_ID_alter() for user_login().
File
- ./
user_restrictions.module, line 18 - Specifies rules for restricting the data users can set for their accounts.
Code
function user_restrictions_form_user_login_alter(&$form, &$form_state) {
$form['#validate'][] = 'user_restrictions_login_form_validate';
}