Authored by htoooth

Merge branch 'hotfix/gee-captcha-check' into gray

... ... @@ -69,7 +69,7 @@ var $accountInput1 = $('#account1'),
getCaptchaSmsTokenVal = function() { // 短信登录凭证
return $.trim($captchaSmsTokenHideInput.val());
},
smsCaptchaImg = new Captcha('.sms-captcha-img-wrap').init(),
smsCaptchaImg = new Captcha('.sms-captcha-img-wrap', {checkURI: ''}).init(),
getSmsCaptchaImgVal = function() { // 短信登录图形验证码
return smsCaptchaImg.getResults();
},
... ...
... ... @@ -103,7 +103,7 @@ GeeCaptcha.prototype = {
}
if (!this.checkURI) {
return $.Deferred().reject().promise(); // eslint-disable-line
return $.Deferred().resolve().promise(); // eslint-disable-line
}
return $.post(this.checkURI, {
... ...