{% extends "admin.html" %} {% block admin_content %} {% if is_en %}Login verification{% else %}登录验证{% endif %} {% if is_en %}Choose the checks required for users and administrators.{% else %}设置普通用户和管理员登录时需要的验证方式。{% endif %} {% if let Some(message) = load_error %} {{ message }} {% endif %} {% if let Some(settings) = settings %} {% if is_en %}Users{% else %}普通用户{% endif %} {% if is_en %}Registration and new sign-ins{% else %}注册与新登录{% endif %} {% if is_en %}Email verification code{% else %}邮箱验证码{% endif %} {% if is_en %}Required for account activation and each new sign-in.{% else %}用于账号激活和每次新登录。{% endif %} {% if is_en %}Visual CAPTCHA{% else %}图形验证码{% endif %} {% if is_en %}Required before registration and sign-in.{% else %}注册和登录前需要识别图形验证码。{% endif %} {% if is_en %}Administrators{% else %}管理员{% endif %} {% if is_en %}Administrator sign-in{% else %}管理员登录{% endif %} {% if is_en %}Email verification code{% else %}邮箱验证码{% endif %} {% if is_en %}Send a one-time code after the password check.{% else %}密码验证后发送一次性邮箱验证码。{% endif %} {% if is_en %}Visual CAPTCHA{% else %}图形验证码{% endif %} {% if is_en %}Require a CAPTCHA on the administrator sign-in page.{% else %}管理员登录页需要输入图形验证码。{% endif %} {% if is_en %}Security policy{% else %}安全策略{% endif %} {% if is_en %}Email cooldown and sign-in lockout{% else %}邮件间隔与登录锁定{% endif %} {% if is_en %}Email request interval{% else %}邮件获取间隔{% endif %} {% if is_en %}30–3600 seconds between verification emails.{% else %}两次验证码邮件之间需等待 30–3600 秒。{% endif %} {% if is_en %}sec{% else %}秒{% endif %} {% if is_en %}Failed sign-in limit{% else %}连续失败次数{% endif %} {% if is_en %}Lock the account after 3–20 failed attempts.{% else %}连续失败 3–20 次后锁定账号。{% endif %} {% if is_en %}times{% else %}次{% endif %} {% if is_en %}Account lockout duration{% else %}锁定时长{% endif %} {% if is_en %}Keep the account locked for 1–1440 minutes.{% else %}账号锁定后等待 1–1440 分钟。{% endif %} {% if is_en %}min{% else %}分钟{% endif %} {% if is_en %}Administrator email verification and visual CAPTCHA cannot both be disabled. All active administrators must have a verified email before email verification can be enabled.{% else %}管理员邮箱验证码和图形验证码不能同时关闭。启用管理员邮箱验证码前,所有有效管理员必须已验证邮箱。{% endif %} {% endif %} {% endblock %}
{% if is_en %}Choose the checks required for users and administrators.{% else %}设置普通用户和管理员登录时需要的验证方式。{% endif %}
{{ message }}
{% if is_en %}Administrator email verification and visual CAPTCHA cannot both be disabled. All active administrators must have a verified email before email verification can be enabled.{% else %}管理员邮箱验证码和图形验证码不能同时关闭。启用管理员邮箱验证码前,所有有效管理员必须已验证邮箱。{% endif %}