添加重置密码以后的跳转到登录页面
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user