diff --git a/src/Application/UI/Presenter.php b/src/Application/UI/Presenter.php index c22c4adc1..73aff23ad 100644 --- a/src/Application/UI/Presenter.php +++ b/src/Application/UI/Presenter.php @@ -261,7 +261,7 @@ public function run(Application\Request $request): Application\IResponse } if ($this->hasFlashSession()) { - $this->getFlashSession()->setExpiration($this->response instanceof Responses\RedirectResponse ? '+ 30 seconds' : '+ 3 seconds'); + $this->getFlashSession()->setExpiration('30 seconds'); } if (!$this->response) {