You are here

function tokenauth_reset_confirm_submit in Token authentication 5

Same name and namespace in other branches
  1. 6.2 tokenauth.pages.inc \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.module, line 144

Code

function tokenauth_reset_confirm_submit($form_id, &$form) {
  if ($form['confirm']) {
    tokenauth_reset();
    drupal_set_message(t('All tokens have been reset.'));
    return 'admin/settings/tokenauth';
  }
}