summaryrefslogtreecommitdiff
path: root/src/controller/password.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller/password.php')
-rw-r--r--src/controller/password.php4
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