forked from mirror/pixelfed
allow 30 char usernames
This commit is contained in:
parent
1621a5eba0
commit
8caee23865
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class RegisterController extends Controller
|
||||||
$usernameRules = [
|
$usernameRules = [
|
||||||
'required',
|
'required',
|
||||||
'min:2',
|
'min:2',
|
||||||
'max:15',
|
'max:30',
|
||||||
'unique:users',
|
'unique:users',
|
||||||
function ($attribute, $value, $fail) {
|
function ($attribute, $value, $fail) {
|
||||||
$dash = substr_count($value, '-');
|
$dash = substr_count($value, '-');
|
||||||
|
|
Loading…
Reference in a new issue