{% extends "registration/auth_base.html" %} {% load static ostium_ui %} {% block title %}登录{% endblock %} {% block auth_content %}
{% icon "lock" "w-3.5 h-3.5" %} Secure sign-in

欢迎回来

使用管理员账号登录 Ostium 控制台。

{% csrf_token %} {% if form.non_field_errors %}
{% icon "alert" %}
{{ form.non_field_errors.0 }}
{% endif %} {% if form.username.errors %}
{% icon "alert" %}
{{ form.username.errors.0 }}
{% endif %}
{{ form.username }}
{{ form.password }}
{% if next %}{% endif %}
连续失败会触发登录锁定。忘记密码时,请在服务器上运行:
ostium changepassword <username>
{% endblock %}