Authored by shijian

save

... ... @@ -241,7 +241,7 @@ const local = {
message: '格式错误'
});
}
if (req.session.sendMobile && req.session.sendMobile !== mobile) { // ajax中判断
req.session.sendMobile = '';
req.session.captcha = '';
... ...
... ... @@ -735,7 +735,8 @@ function loginAsync() {
// 全部的本地验证-- 短信验证登录
function smsLoginAsync() {
return validateAccount()
//.then(validateCaptchaImg)
// .then(validateCaptchaImg)
.then(validateCaptchaSms)
.then(function() {
return login();
... ...