||title|| - ||domain||

# Surgeweb login 2FA step 2 page ||ifndef||domain defs load|| ||if(istrue(custom_css))||||endif|| ||if(istrue(custom_js))||
||endif|| ||endif||
||ifdef||sw_favicon|| ||endif||
$$st_loading_init$$ $$st_loading_step1$$
||$((st_loading_if))||
$$st_loading_init$$
$$st_loading_if2$$
$$sw_cookie_warn1$$
$$sw_cookie_warn2$$
$$sw_cookie_warn3$$
$$sw_cookie_warn4$$
||ifdef||custom_login_error||
Custom login page does not exist:
Please make sure this file is valid (copy from surgeweb/tpl if needed):
||custom_login_error||
or disable the "Custom Login Page" setting.
||endif|| # Leftovers from login.htm START ||if(equal(login_crossdomain,(enabled)))|| ||else|| ||endif|| ||if(equal(https_required,(login_only)))|| ||endif|| #development only option to receive clean web pages # Leftovers from login.htm END
# IMPORTANT 2FA fields BEGIN # IMPORTANT 2FA fields END # Useful for providing an additional header styling image using css
#||define||dlg_type||verify_setup|| # DESIGN: 2FA # Present an alternative dialog that does not require username or password re-entry # ||if(equal(dlg_type,(verify_warn)))||
Multifactor Authentication
#
# #

||ifdef||mfa_warning_text|| ||mfa_warning_text|| ||else|| In the near future multi factor authentication will become mandatory when using SurgeWeb. ||endif||

You will periodically be asked to re-enter your authentication code to keep your account safe.

Use an authentication app on your mobile device (eg Authy or Google Authenticator) to scan the QR code and enter the 6 digit code.

||else|| ||if(equal(dlg_type,(verify_setup)))||
Setup Multifactor Authentication
||ifdef||results||
||begin_list_results||
||result||
||end_list_results||
||endif||
Use an authentication app on your mobile device (eg Authy or Google Authenticator) to scan the QR code then enter the code below
Please enter the 6 digit code from your authentication app for
||mfa_account_to_verify||
||if(istrue(verify_warn))||
||endif|| #||if(istrue(or(mfa_backup_email,mfa_backup_sms)))|| ||if(or(istrue(mfa_backup_email),istrue(mfa_backup_sms)))||

Alternatively use a backup method to receive a 2FA code:

||if(istrue(mfa_backup_sms))||SMS to phone||endif|| ||if(and(istrue(mfa_backup_email),istrue(mfa_backup_sms)))|| or ||endif|| ||if(istrue(mfa_backup_email))|| email to recovery addresss ||endif||

||endif|| ||else|| ||if(equal(dlg_type,(backup_email)))||
Code via Recovery Email
||ifdef||results||
||begin_list_results||
||result||
||end_list_results||
||endif||
A verification code has been sent to your recovery email address
||mfa_email_to_verify||
Please enter the 6 digit code from your email
||if(istrue(mfa_webtrust))||
Trust this browser
||endif|| #||if(istrue(or(mfa_backup_email,mfa_backup_sms)))|| ||if(or(istrue(mfa_backup_email),istrue(mfa_backup_sms)))||

Alternatively use a backup method to receive a 2FA code:

||if(istrue(mfa_backup_sms))||SMS to phone||endif|| ||if(and(istrue(mfa_backup_email),istrue(mfa_backup_sms)))|| or ||endif|| ||if(istrue(mfa_backup_email))|| resend email ||endif||

||endif|| ||else|| ||if(equal(dlg_type,(backup_sms)))||
Code via SMS
||ifdef||results||
||begin_list_results||
||result||
||end_list_results||
||endif||
A verification code has been sent to your phone
||mfa_sms_to_verify||
Please enter the 6 digit code from your phone
||if(istrue(mfa_webtrust))||
Trust this browser
||endif|| #||if(istrue(or(mfa_backup_email,mfa_backup_sms)))|| ||if(or(istrue(mfa_backup_email),istrue(mfa_backup_sms)))||

Alternatively use a backup method to receive a 2FA code:

||if(istrue(mfa_backup_sms))||resend SMS||endif|| ||if(and(istrue(mfa_backup_email),istrue(mfa_backup_sms)))|| or ||endif|| ||if(istrue(mfa_backup_email))|| email to recovery addresss ||endif||

||endif|| ||else|| # Actually do the normal verification
Additional Verification is Required
||ifdef||results||
||begin_list_results||
||result||
||end_list_results||
||endif||
Please enter the 6 digit code from your authentication app for
||mfa_account_to_verify||
||if(istrue(mfa_webtrust))||
Trust this browser
||endif|| #||if(istrue(or(mfa_backup_email,mfa_backup_sms)))|| ||if(or(istrue(mfa_backup_email),istrue(mfa_backup_sms)))||

Alternatively use a backup method to receive a 2FA code:

||if(istrue(mfa_backup_sms))||SMS to phone||endif|| ||if(and(istrue(mfa_backup_email),istrue(mfa_backup_sms)))|| or ||endif|| ||if(istrue(mfa_backup_email))|| email to recovery addresss ||endif||

||endif|| ||endif|| ||endif|| ||endif|| ||endif||
$$login_post_comment$$