Authored by 毕凯

Merge branch 'hotfix/phoneVerify' into 'master'

登录国外手机号校验



See merge request !48
... ... @@ -75,7 +75,7 @@ $loginBtn.on('touchstart', function() {
$loginBtn.text('正在登录...').addClass('disable');
if (api.phoneRegx[areaCode].test(pn) && api.pwdValidate(pwd)) {
if ((api.phoneRegx[areaCode].test(pn) || areaCode !== '+86') && api.pwdValidate(pwd)) {
$.ajax({
type: 'POST',
url: '/passport/login/auth',
... ...