1
0
Fork 0

allow 30 char usernames

raise maximum username length, because why not?
This commit is contained in:
hnrd 2023-07-27 12:49:01 +02:00 committed by chris
parent 13995f0612
commit e860abb64b
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, '-');