You are here

function tfa_denied in Two-factor Authentication (TFA) 6

Helper function for when TFA not setup and TFA is required to log in.

Gets around https://drupal.org/node/754560.

1 string reference to 'tfa_denied'
tfa_menu in ./tfa.module
Implements hook_menu().

File

./tfa.pages.inc, line 177
tfa.pages.inc

Code

function tfa_denied() {
  drupal_set_message(t('Login disallowed till your account is setup for TFA. Contact a site administrator.'), 'error');
  drupal_goto('user');
}