Skip to content

Commit 9d529b4

Browse files
committed
Presenter: life-time of flash message is always 30sec
1 parent 1a873c6 commit 9d529b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Presenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ public function run(Application\Request $request): Application\IResponse
261261
}
262262

263263
if ($this->hasFlashSession()) {
264-
$this->getFlashSession()->setExpiration($this->response instanceof Responses\RedirectResponse ? '+ 30 seconds' : '+ 3 seconds');
264+
$this->getFlashSession()->setExpiration('30 seconds');
265265
}
266266

267267
if (!$this->response) {

0 commit comments

Comments
 (0)