# SurgeMail web admin MFA setup page: after the password when g_admin_mfa_require is set and the admin has no MFA yet # (mfa_required), or from the "MFA setup" links. Used only when manager_login.htm has its marker line. # The QR code image comes from cmd=admin_mfa_qr (the secret is never put in a URL). # Posts mfa_code and cmd_admin_mfa_setup_do; turning MFA off posts mfa_off_code and cmd_admin_mfa_off_do. # Variables (already HTML-encoded): mfa_user, mfa_issuer, mfa_secret, mfa_home_url, mfa_message, mfa_ok_message; # flags: mfa_required, mfa_has (MFA already on), mfa_can_off (on, and g_admin_mfa_require not set), and for the # intro text (only one is set) mfa_required, mfa_text_has, mfa_text_new.
$$This server requires multifactor authentication (MFA) for admin logins. Please set it up to continue.$$
||endif|| ||ifdef||mfa_text_has||$$MFA is on for$$ ||mfa_user||. $$Setting it up again replaces your current authenticator.$$
||endif|| ||ifdef||mfa_text_new||$$MFA protects your admin login even if your password is guessed or stolen.$$
||endif||$$Use an authentication app on your mobile device (eg Authy or Google Authenticator) to scan the QR code, then enter the code below.$$
$$The app will show it as$$ ||mfa_issuer||: ||mfa_user||.
$$Or enter this key in the app:$$ ||mfa_secret||
||ifdef||mfa_can_off|| ||endif|| ||ifdef||mfa_required|| ||else|| ||endif||