mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
20e010bea0
commit
6b0b7fbeea
@ -71,7 +71,7 @@ class LoginForm extends Form
|
||||
if ($this->created) {
|
||||
$redirect = $this->getElement('redirect')->getValue();
|
||||
}
|
||||
if (empty($redirect) || strpos($redirect, 'authentication/logout') !== 0) {
|
||||
if (empty($redirect) || strpos($redirect, 'authentication/logout') === 0) {
|
||||
$redirect = static::REDIRECT_URL;
|
||||
}
|
||||
return Url::fromPath($redirect);
|
||||
|
Loading…
x
Reference in New Issue
Block a user