You are here

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

1 call to isFourthPageRequired()
handle_page_two_submit in ./mo_auth_inline_registration.inc

File

./mo_auth_inline_registration.inc, line 1416

Code

function isFourthPageRequired() {
  $onlySelectedMethod = onlySelectedMethod();
  return !($onlySelectedMethod == AuthenticationType::$EMAIL_VERIFICATION['code'] || $onlySelectedMethod == AuthenticationType::$EMAIL['code']);
}