{% extends "admin/base_site.html" %} {% load i18n static %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block responsive %} {{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} login{% endblock %} {% block nav-breadcrumbs %}{% endblock %} {% block nav-sidebar %}{% endblock %} {% block content_title %}{% endblock %} {% block content %} {% if form.errors and not form.non_field_errors %}

{% blocktranslate count counter=form.errors.items|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktranslate %}

{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %}

ImRuYi 使用统一身份登录。

ImRuYi 是 Casdoor SSO 账号,请从统一身份入口进入后台;不要在下面的本地密码表单里输入 ImRuYi。

使用 ImRuYi 登录后台

下面的本地表单仅用于 owner 应急账号。

{% if user.is_authenticated %}

{% blocktranslate trimmed %} You are authenticated as {{ username }}, but are not authorized to access this page. Would you like to login to a different account? {% endblocktranslate %}

{% endif %}
{% csrf_token %}
{{ form.username.errors }} {{ form.username.label_tag }} {{ form.username }}
{{ form.password.errors }} {{ form.password.label_tag }} {{ form.password }}
{% url 'admin_password_reset' as password_reset_url %} {% if password_reset_url %} {% endif %}
{% endblock %}