1
0
Fork 0

allow 30 char usernames

This commit is contained in:
hnrd 2023-07-27 12:49:01 +02:00
parent 1621a5eba0
commit 8caee23865
1 changed files with 1 additions and 1 deletions

View File

@ -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, '-');