Fixed RememberMe isue #1456

$user->tokenAuth() is not method...
This commit is contained in:
Elix 2022-09-27 22:31:35 +02:00 committed by GitHub
parent e4569677c4
commit c0e7e6751d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}