mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Fixes #3580 - reduce minimim username size to 1
This commit is contained in:
parent
dcfc434075
commit
891660d4ea
|
@ -38,7 +38,7 @@ class User extends SnipeModel implements AuthenticatableContract, CanResetPasswo
|
|||
|
||||
protected $rules = [
|
||||
'first_name' => 'required|string|min:1',
|
||||
'username' => 'required|string|min:2|unique_undeleted',
|
||||
'username' => 'required|string|min:1|unique_undeleted',
|
||||
'email' => 'email',
|
||||
'password' => 'required|min:6',
|
||||
'locale' => 'max:10'
|
||||
|
|
Loading…
Reference in a new issue