From 6a5deace0f7fcae894d92eafb83a4ee5079a1c36 Mon Sep 17 00:00:00 2001 From: 3UR <76826837+3UR@users.noreply.github.com> Date: Tue, 8 Mar 2022 00:07:18 +1000 Subject: [PATCH] Update RegisterController.php change max limit to 25 --- app/Http/Controllers/Auth/RegisterController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 3bcd2c4..2598a6f 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -56,7 +56,7 @@ class RegisterController extends Controller return Validator::make($data, [ 'username' => ['required', 'string', 'min:3', 'max:20', 'unique:users', 'alpha_num'], 'email' => ['required', 'string', 'email', 'max:255', 'unique:users'], - 'password' => ['required', 'string', 'min:4', 'confirmed'], + 'password' => ['required', 'string', 'min:4', 'max:25', 'confirmed'], 'invite_key' => ['string', new InviteKeyRule()] ]); }