fix(user/edit): reset_password_form
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2023-02-25 20:59:53 +08:00
parent 424d3163af
commit 09db7e48ef
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -424,7 +424,7 @@ if ($cur_tab == 'profile') {
"where", ["username" => $user['username']] "where", ["username" => $user['username']]
]); ]);
dieWithAlert('密码修改成功!'); dieWithJsonData(['status' => 'success', 'message' => '密码修改成功,请重新 <a href="/login">登录</a>。']);
} }
if (isSuperUser(Auth::user())) { if (isSuperUser(Auth::user())) {