Fix alphabetical order for password rules (#5872)

This commit is contained in:
Andréas Lundgren
2022-04-28 15:08:50 +02:00
committed by GitHub
parent d0603437cb
commit 52e99847d0

View File

@@ -101,10 +101,10 @@ return [
'not_regex' => 'The :attribute format is invalid.', 'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.', 'numeric' => 'The :attribute must be a number.',
'password' => [ 'password' => [
'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
'letters' => 'The :attribute must contain at least one letter.', 'letters' => 'The :attribute must contain at least one letter.',
'symbols' => 'The :attribute must contain at least one symbol.', 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
'numbers' => 'The :attribute must contain at least one number.', 'numbers' => 'The :attribute must contain at least one number.',
'symbols' => 'The :attribute must contain at least one symbol.',
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
], ],
'present' => 'The :attribute field must be present.', 'present' => 'The :attribute field must be present.',