zhangxiaobin преди 1 година
родител
ревизия
6daa2ff619
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
application/api/controller/User.php

@@ -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)) {