{% extends "meta.html" %} {% block title %} 安全设置 - {{cfg("sr.ht", "site-name")}} meta {% endblock %} {% block content %}

两步验证

两步验证通过在登录时要求额外的验证步骤来增强账户安全性。 强烈建议启用此功能。

TOTP

{% if totp %}
已启用,启用时间:{{totp.created | date}}。
{{csrf_token()}}
{% else %}

未启用。启用后,每次登录时需要输入 TOTP 验证码。

{% endif %}

修改密码

重置链接将发送到你的账户邮箱({{current_user.email}})。

{% if allow_password_reset() %}
{{csrf_token()}}
{% else %} 无法重置密码,因为 {{cfg("sr.ht", "site-name")}} 的认证由其他服务管理。 {% endif %}

账户活动日志

{% for log in audit_log %} {% endfor %}
IP 地址 详情 时间
{{log.ip_address}} {{log.details or log.event_type}} {{log.created|date}}
查看完整日志 {{icon("caret-right")}}
{% endblock %}