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": "登录",
|
"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')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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 %}
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user