Remove strict equality for $auth->isAuthenticated()
This commit is contained in:
parent
7288f2e92b
commit
0806ab3ec9
|
@ -178,7 +178,7 @@ class Web extends ApplicationBootstrap
|
|||
private function setupUser()
|
||||
{
|
||||
$auth = Manager::getInstance();
|
||||
if ($auth->isAuthenticated() === true) {
|
||||
if ($auth->isAuthenticated()) {
|
||||
$this->user = $auth->getUser();
|
||||
}
|
||||
return $this;
|
||||
|
|
Loading…
Reference in New Issue