From 0416e1986392735e31f216351e25cddc5231b4ab Mon Sep 17 00:00:00 2001 From: Mohammad Alavi Date: Sat, 11 Dec 2021 13:36:11 +0330 Subject: [PATCH] update validation --- .../Authentication/UI/API/Requests/RegisterUserRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Containers/AppSection/Authentication/UI/API/Requests/RegisterUserRequest.php b/app/Containers/AppSection/Authentication/UI/API/Requests/RegisterUserRequest.php index d1ebfe39c..eb06d7ce6 100644 --- a/app/Containers/AppSection/Authentication/UI/API/Requests/RegisterUserRequest.php +++ b/app/Containers/AppSection/Authentication/UI/API/Requests/RegisterUserRequest.php @@ -34,7 +34,7 @@ public function rules(): array { return [ 'email' => 'required|email|max:40|unique:users,email', - 'password' => 'required|min:6|max:30', + 'password' => 'required|min:6|max:32', 'name' => 'min:2|max:50', 'gender' => 'in:male,female,unspecified', 'birth' => 'date',