修复登录的时候不能更新验证码的 bug

This commit is contained in:
virusdefender 2015-10-10 10:36:25 +08:00
parent b4d6391a36
commit b2b95162e3

View File

@ -31,9 +31,7 @@ require(["jquery", "bsAlert", "csrfToken", "validator"], function ($, bsAlert, c
location.href = "/";
}
else {
if(applied_captcha) {
refresh_captcha();
}
refresh_captcha();
bsAlert(data.data);
}
},