mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
index: Don't drop query parameters when redirecting to dashboard
This commit is contained in:
parent
5ca97c14d6
commit
a2e1663e34
@ -19,7 +19,7 @@ class IndexController extends ActionController
|
|||||||
public function preDispatch()
|
public function preDispatch()
|
||||||
{
|
{
|
||||||
if ($this->getRequest()->getActionName() !== 'welcome') {
|
if ($this->getRequest()->getActionName() !== 'welcome') {
|
||||||
$this->redirectNow('dashboard');
|
$this->redirectNow(Url::fromRequest()->setPath('dashboard'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user