fix(register): change max length username

This commit is contained in:
Yoga Pangestu 2025-12-05 09:25:15 +07:00
parent facd36688e
commit e8061bb41b

View File

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