Skip to content

Commit

Permalink
Remove strict equality for $auth->isAuthenticated()
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Mar 11, 2015
1 parent 7288f2e commit 0806ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icinga/Application/Web.php
Expand Up @@ -178,7 +178,7 @@ private function setupZendMvc()
private function setupUser()
{
$auth = Manager::getInstance();
if ($auth->isAuthenticated() === true) {
if ($auth->isAuthenticated()) {
$this->user = $auth->getUser();
}
return $this;
Expand Down

0 comments on commit 0806ab3

Please sign in to comment.