fix: 登录URL /rbac/user/login -> /rbac/user/login.ui
This commit is contained in:
parent
bb5cb57d89
commit
5762e1c361
@ -40,7 +40,7 @@ if not user:
|
||||
"label": "登录",
|
||||
"css": "primary",
|
||||
"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')
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
{% else %}
|
||||
{% set dspy_with_param = entire_url('./index.dspy') %}
|
||||
{% 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 %}
|
||||
{% if not user %}
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user