mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
432efcb089
commit
257a9f9d1d
@ -91,6 +91,7 @@ class LoginForm extends Form
|
||||
$authenticated = $authChain->authenticate($user, $password);
|
||||
if ($authenticated) {
|
||||
$auth->setAuthenticated($user);
|
||||
$this->getResponse()->setRerenderLayout(true);
|
||||
return true;
|
||||
}
|
||||
switch ($authChain->getError()) {
|
||||
@ -131,7 +132,7 @@ class LoginForm extends Form
|
||||
if ($backend instanceof ExternalBackend) {
|
||||
if ($backend->authenticate($user)) {
|
||||
$auth->setAuthenticated($user);
|
||||
$this->getResponse()->redirectAndExit($this->getRedirectUrl());
|
||||
$this->getResponse()->setRerenderLayout(true)->redirectAndExit($this->getRedirectUrl());
|
||||
}
|
||||
} else {
|
||||
$onlyExternal = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user