feat: Update username maxLength validation in registration form from 20 to 10 characters for improved user input constraints.

This commit is contained in:
Yoga Pangestu 2026-03-31 15:18:14 +07:00
parent 29948fb547
commit 9097ebe8ec

View File

@ -56,7 +56,7 @@ public function form(Schema $schema): Schema
->autocomplete(false)
->required()
->minLength(5)
->maxLength(20)
->maxLength(10)
->regex('/^[a-zA-Z0-9_.-]+$/')
->unique('users', 'username')
->prefixIcon('heroicon-o-at-symbol'),