parent
e4569677c4
commit
c0e7e6751d
1 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ class Login {
|
||||||
|
|
||||||
// Get user from database and login
|
// Get user from database and login
|
||||||
$user = $this->users->getUserDB($username);
|
$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.');
|
Log::set(__METHOD__.LOG_SEP.'User authenticated via Remember Me.');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -185,4 +185,4 @@ class Login {
|
||||||
Session::destroy();
|
Session::destroy();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue