From 4e43e5110a4e135cf716d3384bbb9a92fa23895c Mon Sep 17 00:00:00 2001 From: Vitaly Shutko Date: Wed, 29 Mar 2017 15:05:57 +0300 Subject: [PATCH] BB-8434: Admin login form contains redundant flash messages after web install (#9119) - fixed --- src/Oro/Bundle/InstallerBundle/Process/Step/FinalStep.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Oro/Bundle/InstallerBundle/Process/Step/FinalStep.php b/src/Oro/Bundle/InstallerBundle/Process/Step/FinalStep.php index bd6f8605217..5d0ebe54bb4 100644 --- a/src/Oro/Bundle/InstallerBundle/Process/Step/FinalStep.php +++ b/src/Oro/Bundle/InstallerBundle/Process/Step/FinalStep.php @@ -8,6 +8,8 @@ class FinalStep extends AbstractStep { public function displayAction(ProcessContextInterface $context) { + $this->get('session.flash_bag')->clear(); + $this->complete(); return $this->render('OroInstallerBundle:Process/Step:final.html.twig');