function tfa_clear_context in Two-factor Authentication (TFA) 7.2
Remove context for account.
Parameters
object $account: User account object.
1 call to tfa_clear_context()
- tfa_login in ./
tfa.module - Authenticate the user.
File
- ./
tfa.module, line 147 - Two-factor authentication for Drupal.
Code
function tfa_clear_context($account) {
unset($_SESSION['tfa'][$account->uid]);
}