~cytrogen/srht-deploy

srht-deploy/meta-custom/templates/totp-enabled.html -rw-r--r-- 721 bytes
6b7b1351 — Cytrogen 修复 README 里的 Markdown 格式错误 9 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{% extends "meta.html" %}
{% block title %}
<title>TOTP 设置完成 - {{cfg("sr.ht", "site-name")}} meta</title>
{% endblock %}
{% block content %}
<div class="row">
  <section class="col-md-8 offset-md-2">
    <h3>TOTP 已启用</h3>
    <p>
      请保存以下恢复码,以防丢失 TOTP 设备时使用。
    </p>
<pre class="text-center">{% for code in codes -%}
{{code}}
{% endfor %}</pre>
    <p>
      建议你同时保持账户中的 SSH 和 PGP 公钥为最新状态,
      以便在需要账户恢复时作为辅助验证方式。
    </p>
    <a
      href="{{url_for("security.security_GET")}}"
      class="btn btn-primary"
    >继续 {{icon('caret-right')}}</a>
  </section>
</div>
{% endblock %}