Commit f2e730c414c1b85090bbe472f1cfd83093746f74
1 parent
ae6d179e
Exists in
master
and in
1 other branch
bugfixing...
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/Controller/UsersController.php
... | ... | @@ -358,7 +358,7 @@ class UsersController extends AppController { |
358 | 358 | //$all_users = $this->Users->find()->toList(); |
359 | 359 | //debug($all_users); |
360 | 360 | for ($i = 0; $i < 2; $i++) debug($all_users[$i]); |
361 | - //throw new \ErrorException("Pas de user trouvé dans la table users pour 'username'=$user_login"); | |
361 | + throw new \ErrorException("Pas de user trouvé dans la table users pour 'username'=$user_login"); | |
362 | 362 | } |
363 | 363 | return $user; |
364 | 364 | } | ... | ... |