From 0806ab3ec980916bb565b61a83519735f07ad9e1 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Mar 2015 22:26:03 +0100 Subject: [PATCH] Remove strict equality for $auth->isAuthenticated() --- library/Icinga/Application/Web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php index c07536e89..0c7ea0ad8 100644 --- a/library/Icinga/Application/Web.php +++ b/library/Icinga/Application/Web.php @@ -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;