From 5b176d9370e2921714591c111ada5b9fa49f41c3 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Wed, 16 Dec 2020 18:30:21 +0100 Subject: [PATCH] minor fixes --- pandora_console/mobile/include/user.class.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pandora_console/mobile/include/user.class.php b/pandora_console/mobile/include/user.class.php index 749233df99..3a46ebac1d 100644 --- a/pandora_console/mobile/include/user.class.php +++ b/pandora_console/mobile/include/user.class.php @@ -100,6 +100,9 @@ class User $this->loginTime = time(); $this->errorLogin = false; } + + $this->saveLogin(); + return $this->logged; } // Maybe back from SAML login. @@ -117,10 +120,10 @@ class User 'User cannot log in into this console, please contact administrator' ); } - } - $this->saveLogin(); - return $this->logged; + $this->saveLogin(); + return $this->logged; + } } if (($user == null) && ($password == null)) {