You are here

function user_admin_access_check_validate in Drupal 4

Same name and namespace in other branches
  1. 5 modules/user/user.module \user_admin_access_check_validate()
  2. 6 modules/user/user.admin.inc \user_admin_access_check_validate()

File

modules/user.module, line 1557
Enables the user registration and login system.

Code

function user_admin_access_check_validate($form_id, $edit) {
  if (empty($edit['test'])) {
    form_set_error($edit['type'], t('No value entered. Please enter a test string and try again.'));
  }
}