mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
添加重置密码以后的跳转到登录页面
This commit is contained in:
parent
14f4425a22
commit
879e46bc05
@ -16,6 +16,7 @@ require(["jquery", "bsAlert", "csrfToken", "validator"], function ($, bsAlert, c
|
||||
if (!data.code) {
|
||||
refresh_captcha();
|
||||
bsAlert(data.data);
|
||||
window.location.href = "/login/";
|
||||
}
|
||||
else {
|
||||
refresh_captcha();
|
||||
|
Loading…
Reference in New Issue
Block a user