function tokenauth_user_reset_confirm_submit in Token authentication 7
Same name and namespace in other branches
- 5 tokenauth.module \tokenauth_user_reset_confirm_submit()
- 6.2 tokenauth.pages.inc \tokenauth_user_reset_confirm_submit()
- 6 tokenauth.pages.inc \tokenauth_user_reset_confirm_submit()
Handler for reset tokens confirmation
File
- ./
tokenauth.pages.inc, line 123 - Provides administrative user interface for Tokenauth module.
Code
function tokenauth_user_reset_confirm_submit($form, &$form_state) {
tokenauth_reset($form['uid']['#value']);
drupal_set_message(t('The token has been reset.'));
$form_state['redirect'] = 'user/' . $form['uid']['#value'] . '/tokenauth';
}