From 52e99847d0e97ab87b53182d4beb1c091896b5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9as=20Lundgren?= <1066486+adevade@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:08:50 +0200 Subject: [PATCH] Fix alphabetical order for password rules (#5872) --- lang/en/validation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/en/validation.php b/lang/en/validation.php index 8ca5a008..724b5ace 100644 --- a/lang/en/validation.php +++ b/lang/en/validation.php @@ -101,10 +101,10 @@ return [ 'not_regex' => 'The :attribute format is invalid.', 'numeric' => 'The :attribute must be a number.', 'password' => [ - 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase 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.', + 'symbols' => 'The :attribute must contain at least one symbol.', 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.', ], 'present' => 'The :attribute field must be present.',