fix: 登录URL /rbac/user/login -> /rbac/user/login.ui

This commit is contained in:
yumoqing 2026-07-06 14:34:22 +08:00
parent bb5cb57d89
commit 5762e1c361
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ if not user:
"label": "登录", "label": "登录",
"css": "primary", "css": "primary",
"actiontype": "link", "actiontype": "link",
"url": env.entire_url('/rbac/user/login') + f"?back={back_url}" if back_url else env.entire_url('/rbac/user/login') "url": env.entire_url('/rbac/user/login.ui') + f"?back={back_url}" if back_url else env.entire_url('/rbac/user/login.ui')
} }
}, },
{ {

View File

@ -8,7 +8,7 @@
{% else %} {% else %}
{% set dspy_with_param = entire_url('./index.dspy') %} {% set dspy_with_param = entire_url('./index.dspy') %}
{% endif %} {% endif %}
{% set login_back = entire_url('/rbac/user/login') + '?back=' + dspy_with_param %} {% set login_back = entire_url('/rbac/user/login.ui') + '?back=' + dspy_with_param %}
{% set register_back = entire_url('/rbac/user/register') + '?back=' + dspy_with_param %} {% set register_back = entire_url('/rbac/user/register') + '?back=' + dspy_with_param %}
{% if not user %} {% if not user %}
{ {