Commit 38719912cb379f5dd2078a23f9ee337b3f5ff9d3
1 parent
f2e730c4
Exists in
master
and in
1 other branch
bugfixing...
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/Controller/UsersController.php
@@ -351,6 +351,7 @@ class UsersController extends AppController { | @@ -351,6 +351,7 @@ class UsersController extends AppController { | ||
351 | DEBUG && debug($user_login); // le login | 351 | DEBUG && debug($user_login); // le login |
352 | if (is_null($user_login)) throw new \ErrorException("Pas de user login trouvé dans la session (user_login is null)"); | 352 | if (is_null($user_login)) throw new \ErrorException("Pas de user login trouvé dans la session (user_login is null)"); |
353 | $user = $this->Users->find()->where(['username'=>$user_login])->first(); | 353 | $user = $this->Users->find()->where(['username'=>$user_login])->first(); |
354 | + debug($user); | ||
354 | //$user = null; | 355 | //$user = null; |
355 | if (is_null($user)) { | 356 | if (is_null($user)) { |
356 | debug("Liste des users de la table users :"); | 357 | debug("Liste des users de la table users :"); |