function securesite_user_pass in Secure Site 6.2
Same name and namespace in other branches
- 8 securesite.module \securesite_user_pass()
- 7.2 securesite.inc \securesite_user_pass()
We use our own version of the password reset form for theming.
See also
2 string references to 'securesite_user_pass'
- _securesite_dialog in ./
securesite.inc - Display authentication dialog and send password reset mails.
- _securesite_dialog_page in ./
securesite.inc - Display fall-back HTML for HTTP authentication dialogs. Safari will not load this. Opera will not load this after log-out unless the page has been reloaded and the authentication dialog has been displayed twice.
File
- ./
securesite.inc, line 457 - Secure Site log-in functions.
Code
function securesite_user_pass(&$form_state) {
module_load_include('inc', 'user', 'user.pages');
$form = user_pass();
$form['name']['#title'] = t('User name or e-mail address');
$data =& $form;
$data['__drupal_alter_by_ref'] = array(
&$form_state,
);
drupal_alter('form', $data, 'user_pass');
$form['#redirect'] = FALSE;
$form['#validate'][] = 'user_pass_validate';
$form['#submit'][] = 'user_pass_submit';
return $form;
}