mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +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) {
|
if (!data.code) {
|
||||||
refresh_captcha();
|
refresh_captcha();
|
||||||
bsAlert(data.data);
|
bsAlert(data.data);
|
||||||
|
window.location.href = "/login/";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
refresh_captcha();
|
refresh_captcha();
|
||||||
|
Loading…
Reference in New Issue
Block a user