Authored by 毕凯

Merge branch 'hotfix/phoneVerify' into 'master'

登录国外手机号校验



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