You are here

function is2FAResetRequest in Google Authenticator / 2 Factor Authentication - 2FA 7

2 calls to is2FAResetRequest()
handle2FAReset in ./mo_auth_inline_registration.inc
handle_page_five_submit in ./mo_auth_inline_registration.inc

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;
}