{% extends "registration/auth_base.html" %} {% load ostium_ui %} {% block title %}启用两步验证{% endblock %} {% block auth_content %}
{% icon "shield" "w-3.5 h-3.5" %} Protect the console

启用两步验证

扫描二维码,或手动输入密钥,然后输入认证器生成的 6 位验证码。

TOTP 二维码
手动密钥
{{ secret }}
推荐应用
1Password、Bitwarden、Aegis、Google Authenticator 或任何 TOTP 客户端。
{% if already_confirmed %}
{% icon "alert" %}
已有已验证设备。提交新验证码会重新绑定当前密钥。
{% endif %}
{% csrf_token %}
{{ form.token }} {{ form.token.errors }}
{% endblock %}