Remove strict equality for $auth->isAuthenticated()

This commit is contained in:
Eric Lippmann 2015-03-11 22:26:03 +01:00
parent 7288f2e92b
commit 0806ab3ec9
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class Web extends ApplicationBootstrap
private function setupUser() private function setupUser()
{ {
$auth = Manager::getInstance(); $auth = Manager::getInstance();
if ($auth->isAuthenticated() === true) { if ($auth->isAuthenticated()) {
$this->user = $auth->getUser(); $this->user = $auth->getUser();
} }
return $this; return $this;