mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
20e010bea0
commit
6b0b7fbeea
@ -71,7 +71,7 @@ class LoginForm extends Form
|
|||||||
if ($this->created) {
|
if ($this->created) {
|
||||||
$redirect = $this->getElement('redirect')->getValue();
|
$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;
|
$redirect = static::REDIRECT_URL;
|
||||||
}
|
}
|
||||||
return Url::fromPath($redirect);
|
return Url::fromPath($redirect);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user