1
0
Fork 0
forked from mirror/pixelfed

allow 30 char usernames

This commit is contained in:
hnrd 2023-07-27 12:49:01 +02:00
parent 1621a5eba0
commit 8caee23865

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