moonsflyer пре 9 месеци
родитељ
комит
7fa41bd6a1
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      app/shopapi/validate/RegisterValidate.php

+ 3 - 1
app/shopapi/validate/RegisterValidate.php

@@ -69,7 +69,9 @@ class RegisterValidate extends BaseValidate
      */
     public function sceneRegister()
     {
-        return $this->only(['register_source', 'mobile', 'code', 'password', 'password_confirm'])
+//        return $this->only(['register_source', 'mobile', 'code', 'password', 'password_confirm'])
+//            ->append('mobile', 'checkMobile|checkConfig');
+        return $this->only(['register_source', 'mobile', 'password', 'password_confirm'])
             ->append('mobile', 'checkMobile|checkConfig');
     }