From c0e7e6751d60dadb03b0042ac7a971c354541524 Mon Sep 17 00:00:00 2001 From: Elix <109692427+Elixcz@users.noreply.github.com> Date: Tue, 27 Sep 2022 22:31:35 +0200 Subject: [PATCH] Fixed RememberMe isue #1456 $user->tokenAuth() is not method... --- bl-kernel/login.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-kernel/login.class.php b/bl-kernel/login.class.php index bb86952d..a2de8565 100644 --- a/bl-kernel/login.class.php +++ b/bl-kernel/login.class.php @@ -165,7 +165,7 @@ class Login { // Get user from database and login $user = $this->users->getUserDB($username); - $this->setLogin($username, $user['role'], $user->tokenAuth()); + $this->setLogin($username, $user['role'], $user->tokenAuth ); Log::set(__METHOD__.LOG_SEP.'User authenticated via Remember Me.'); return true; } @@ -185,4 +185,4 @@ class Login { Session::destroy(); return true; } -} \ No newline at end of file +}