|
@@ -82,7 +82,7 @@ class User extends Api
|
|
|
if (!Validate::regex($mobile, "^1\d{10}$")) {
|
|
|
$this->error(__('Mobile is incorrect'));
|
|
|
}
|
|
|
- if (!Sms::check($mobile, $captcha, 'mobilelogin') && $captcha != '8888') {
|
|
|
+ if (!Sms::check($mobile, $captcha, 'mobilelogin') && $captcha != '1212') {
|
|
|
$this->error(__('Captcha is incorrect'));
|
|
|
}
|
|
|
if (!empty($openid)) {
|