fix(register): change max length username
This commit is contained in:
parent
facd36688e
commit
e8061bb41b
@ -44,7 +44,7 @@ public function form(Schema $schema): Schema
|
|||||||
->autocomplete(false)
|
->autocomplete(false)
|
||||||
->required()
|
->required()
|
||||||
->minLength(5)
|
->minLength(5)
|
||||||
->maxLength(20)
|
->maxLength(10)
|
||||||
->regex('/^[a-zA-Z0-9_.-]+$/')
|
->regex('/^[a-zA-Z0-9_.-]+$/')
|
||||||
->unique('users', 'username'),
|
->unique('users', 'username'),
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user