{{if !$showingMultipleForms}}

{lang="mfa_popup_setup_title"}

{{endif}}
{{if \in_array( 'authy', $methods )}} {{if !$showingMultipleForms}} {lang="authy_mfa_desc_authy_prefix"} {{endif}} {lang="authy_mfa_desc_authy_only"} {{if \count( $methods ) > 1}} {{if \count( $methods ) == 3}} {lang="authy_mfa_desc_fallback_sms_or_phone"} {{elseif \in_array( 'phone', $methods )}} {lang="authy_mfa_desc_fallback_phone"} {{else}} {lang="authy_mfa_desc_fallback_sms"} {{endif}} {{endif}} {{else}} {{if !$showingMultipleForms}} {lang="authy_mfa_desc_phone_prefix"} {{endif}} {{if \count( $methods ) == 2}} {lang="authy_mfa_desc_sms_or_phone"} {{elseif \in_array( 'phone', $methods )}} {lang="authy_mfa_desc_phone"} {{else}} {lang="authy_mfa_desc_sms"} {{endif}} {{endif}}
{{if \in_array( 'authy', $methods )}}
{{$langCode = mb_substr( \IPS\Member::loggedIn()->language()->bcp47(), 0, 2 );}}
{{endif}}
{{if request.countryCode}}

{lang="$error"}

{{endif}}
{{if \in_array( 'authy', $methods )}}
{{else}} {{if \in_array( 'phone', $methods )}}
{{endif}} {{if \in_array( 'sms', $methods )}}
{{endif}} {{endif}}
{template="mfaSetupOptOut" app="core" group="login" location="global"}