mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 21:04:25 +02:00
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…
x
Reference in New Issue
Block a user