feat: Update username maxLength validation in registration form from 20 to 10 characters for improved user input constraints.
This commit is contained in:
parent
29948fb547
commit
9097ebe8ec
@ -56,7 +56,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')
|
||||||
->prefixIcon('heroicon-o-at-symbol'),
|
->prefixIcon('heroicon-o-at-symbol'),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user