function is2FAResetRequest in Google Authenticator / 2 Factor Authentication - 2FA 7
2 calls to is2FAResetRequest()
File
- ./
mo_auth_inline_registration.inc, line 1366
Code
function is2FAResetRequest(&$form_state) {
$storage = $form_state['storage'];
return isset($storage['page_one_values']['mo_2fa_reset']) && $storage['page_one_values']['mo_2fa_reset'] === TRUE ? TRUE : FALSE;
}