templates/webclient/mfa.html
{{template "base" .}} {{- define "page_body"}} {{- if .TOTPConfig.Enabled}}
Disable Please wait...
{{- end}}
{{- if not .TOTPConfig.Enabled}}
{{- end}} Configuration --- {{range .TOTPConfigs}} {{.}} {{end}}
Require 2FA for {{range $protocol := .Protocols}} {{$protocol}} {{end}}
{{- if .TOTPConfig.Enabled }} Generate new secret Please wait... {{- end}} Please wait...
{{- if .TOTPConfig.Enabled}}
Recovery codes are a set of one time use codes that can be used in place of the authentication code to login to the web UI. You can use them if you lose access to your phone to login to your account and disable or regenerate two-factor configuration.
To keep your account secure, don't share or distribute your recovery codes. We recommend saving them with a secure password manager.
If you generate new recovery codes, you automatically invalidate old ones.
Generate Please wait... View Please wait...
{{- end}} {{- end}} {{- define "additionalnavitems"}}
{{- end}} {{- define "modals"}}
OK
SSH protocol (SFTP/SCP/SSH commands) will ask for the passcode if the client uses keyboard interactive authentication.
HTTP protocol means Web UI and REST APIs. Web UI will ask for the passcode using a specific page. For REST API you have to add the passcode using an HTTP header.
FTP has no standard way to support two factor authentication, if you enable the FTP support, you have to add the TOTP passcode after the password. For example if your password is "password" and your one time passcode is "123456" you have to use "password123456" as password.
WebDAV is not supported since each single request must be authenticated and a passcode cannot be reused.
OK
Use your preferred Authenticator App (e.g. Microsoft Authenticator, Google Authenticator, Authy, 1Password etc. ) to scan the QR code. It will generate an authentication code for you to enter below.
If you have trouble using the QR code, select manual entry on your app, and enter the code:
Cancel Submit Please wait...
{{- end}} {{- define "extra_js"}} {{- end}}