mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
parent
775f8cced6
commit
36ff2d8914
@ -256,6 +256,7 @@ class Auth
|
|||||||
$password = $credentials[1];
|
$password = $credentials[1];
|
||||||
if ($this->getAuthChain()->setSkipExternalBackends(true)->authenticate($user, $password)) {
|
if ($this->getAuthChain()->setSkipExternalBackends(true)->authenticate($user, $password)) {
|
||||||
$this->setAuthenticated($user, false);
|
$this->setAuthenticated($user, false);
|
||||||
|
$user->setIsHttpUser(true);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user