From 8caee238656792ce13178edbb652ca7723a79c0f Mon Sep 17 00:00:00 2001 From: hnrd Date: Thu, 27 Jul 2023 12:49:01 +0200 Subject: [PATCH] allow 30 char usernames --- 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 5eb1159fe..227bf06d0 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -70,7 +70,7 @@ class RegisterController extends Controller $usernameRules = [ 'required', 'min:2', - 'max:15', + 'max:30', 'unique:users', function ($attribute, $value, $fail) { $dash = substr_count($value, '-');