Fixes #3580 - reduce minimim username size to 1

This commit is contained in:
snipe 2017-05-16 12:26:38 -07:00
parent dcfc434075
commit 891660d4ea

View file

@ -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'