You are here

function ga_login_delete_form in Google Authenticator login 7

The confirmation page for deleting a GA Login code.

1 string reference to 'ga_login_delete_form'
ga_login_menu in ./ga_login.module
Implements hook_menu().

File

./ga_login.pages.inc, line 341
ga_login pages.

Code

function ga_login_delete_form($form, &$form_state, $account) {
  $form['account'] = array(
    '#type' => 'value',
    '#value' => $account,
  );
  return confirm_form($form, t('Delete the GA Login code for @name?', array(
    '@name' => format_username($account),
  )), 'user/' . $account->uid . '/edit', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}