kphcdr 1 سال پیش
والد
کامیت
131f72b1fc
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Modules/Mini/Controllers/AuthController.php

+ 1 - 1
app/Modules/Mini/Controllers/AuthController.php

@@ -119,7 +119,7 @@ class AuthController extends BaseController
     {
         $params = $this->valid([
             "email" => "required|email",
-            "phone" => ["required", new Phone()],
+            "phone" => new Phone(),
             "password" => "required",
             "captcha" => "required",
         ]);