From f2e730c414c1b85090bbe472f1cfd83093746f74 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Thu, 16 Sep 2021 10:39:15 +0200 Subject: [PATCH] bugfixing... --- src/Controller/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/UsersController.php b/src/Controller/UsersController.php index c4c8492..6b1f83f 100755 --- a/src/Controller/UsersController.php +++ b/src/Controller/UsersController.php @@ -358,7 +358,7 @@ class UsersController extends AppController { //$all_users = $this->Users->find()->toList(); //debug($all_users); for ($i = 0; $i < 2; $i++) debug($all_users[$i]); - //throw new \ErrorException("Pas de user trouvé dans la table users pour 'username'=$user_login"); + throw new \ErrorException("Pas de user trouvé dans la table users pour 'username'=$user_login"); } return $user; } -- libgit2 0.21.2