You are here

function tokenauth_reset_confirm_submit in Token authentication 6.2

Same name and namespace in other branches
  1. 5 tokenauth.module \tokenauth_reset_confirm_submit()
  2. 6 tokenauth.pages.inc \tokenauth_reset_confirm_submit()
  3. 7 tokenauth.pages.inc \tokenauth_reset_confirm_submit()

Handler for reset tokens confirmation

File

./tokenauth.pages.inc, line 99
Provides administrative user interface for Tokenauth module.

Code

function tokenauth_reset_confirm_submit(&$form_state) {
  tokenauth_reset();
  drupal_set_message(t('All tokens have been reset.'));
  $form_state['#redirect'] = 'admin/settings/tokenauth';
}