user_pass

5 user.module user_pass()
6 user.pages.inc user_pass()
7 user.pages.inc user_pass()
8 user.pages.inc user_pass()

1 string reference to 'user_pass'

File

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

Code

function user_pass() {

  // Display form:
  $form['name'] = array(
    '#type' => 'textfield', 
    '#title' => t('Username or e-mail address'), 
    '#size' => 60, 
    '#maxlength' => max(USERNAME_MAX_LENGTH, EMAIL_MAX_LENGTH), 
    '#required' => TRUE,
  );
  $form['submit'] = array(
    '#type' => 'submit', 
    '#value' => t('E-mail new password'), 
    '#weight' => 2,
  );
  return $form;
}
Login or register to post comments