mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
Min password requirement set to 8 characters
This commit is contained in:
parent
38ed73a2b4
commit
8127fdc5bc
|
@ -68,7 +68,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo
|
||||||
'first_name' => 'required|string|min:1',
|
'first_name' => 'required|string|min:1',
|
||||||
'username' => 'required|string|min:1|unique_undeleted',
|
'username' => 'required|string|min:1|unique_undeleted',
|
||||||
'email' => 'email|nullable',
|
'email' => 'email|nullable',
|
||||||
'password' => 'required|min:6',
|
'password' => 'required|min:8',
|
||||||
'locale' => 'max:10|nullable',
|
'locale' => 'max:10|nullable',
|
||||||
'website' => 'url|nullable',
|
'website' => 'url|nullable',
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue