mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added the validation strings for user creation password options
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
f8a0bf6a4b
commit
3071a83ae0
|
@ -91,6 +91,11 @@ return [
|
||||||
'url' => 'The :attribute format is invalid.',
|
'url' => 'The :attribute format is invalid.',
|
||||||
'unique_undeleted' => 'The :attribute must be unique.',
|
'unique_undeleted' => 'The :attribute must be unique.',
|
||||||
'non_circular' => 'The :attribute must not create a circular reference.',
|
'non_circular' => 'The :attribute must not create a circular reference.',
|
||||||
|
'disallow_same_pwd_as_user_fields' => 'Password cannot be the same as the username.',
|
||||||
|
'letters' => 'Password must contain at least one letter.',
|
||||||
|
'numbers' => 'Password must contain at least one number.',
|
||||||
|
'case_diff' => 'Password must use mixed case.',
|
||||||
|
'symbols' => 'Password must contain symbols.',
|
||||||
'gte' => [
|
'gte' => [
|
||||||
'numeric' => 'Value cannot be negative'
|
'numeric' => 'Value cannot be negative'
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue