diff options
author | polo <ordipolo@gmx.fr> | 2025-05-29 11:39:54 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-05-29 11:39:54 +0200 |
commit | 99e990c131b5fa122984a869bea95f3e9074bc7b (patch) | |
tree | 2c941c08d309a5ace06d45532b9fe6cd99ab3672 /src/controller/password.php | |
parent | 03668b9bb9f224f6db985bc9980dc75fab2fa4d5 (diff) | |
download | cms-99e990c131b5fa122984a869bea95f3e9074bc7b.zip |
début bloc calendrier
Diffstat (limited to 'src/controller/password.php')
-rw-r--r-- | src/controller/password.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controller/password.php b/src/controller/password.php index 2a38508..2189326 100644 --- a/src/controller/password.php +++ b/src/controller/password.php | |||
@@ -154,7 +154,7 @@ function connect(LoginBuilder $builder, EntityManager $entityManager) | |||
154 | elseif(!isset($_POST['login']) || empty($_POST['login']) | 154 | elseif(!isset($_POST['login']) || empty($_POST['login']) |
155 | || !isset($_POST['password']) || empty($_POST['password'])) | 155 | || !isset($_POST['password']) || empty($_POST['password'])) |
156 | { | 156 | { |
157 | $error = 'bad_password'; | 157 | $error = 'bad_login_or_password'; |
158 | } | 158 | } |
159 | else // c'est OK | 159 | else // c'est OK |
160 | { | 160 | { |
@@ -179,7 +179,7 @@ function connect(LoginBuilder $builder, EntityManager $entityManager) | |||
179 | } | 179 | } |
180 | else | 180 | else |
181 | { | 181 | { |
182 | $error = 'bad_password'; | 182 | $error = 'bad_login_or_password'; |
183 | } | 183 | } |
184 | } | 184 | } |
185 | 185 | ||