添加重置密码以后的跳转到登录页面

This commit is contained in:
sxw 2015-11-30 18:04:47 +08:00
parent 14f4425a22
commit 879e46bc05

View File

@ -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();