From 38719912cb379f5dd2078a23f9ee337b3f5ff9d3 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Thu, 16 Sep 2021 10:45:11 +0200 Subject: [PATCH] bugfixing... --- src/Controller/UsersController.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/Controller/UsersController.php b/src/Controller/UsersController.php index 6b1f83f..85750b8 100755 --- a/src/Controller/UsersController.php +++ b/src/Controller/UsersController.php @@ -351,6 +351,7 @@ class UsersController extends AppController { DEBUG && debug($user_login); // le login if (is_null($user_login)) throw new \ErrorException("Pas de user login trouvé dans la session (user_login is null)"); $user = $this->Users->find()->where(['username'=>$user_login])->first(); + debug($user); //$user = null; if (is_null($user)) { debug("Liste des users de la table users :"); -- libgit2 0.21.2