mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Revert "Repair redirect after login"
This reverts commit 6b0b7fbeeac876be6ce41d44d7078eb69aa0f296.
This commit is contained in:
parent
6b0b7fbeea
commit
fdb186ec56
@ -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