PHRAS-343 Disabled record type when choosing story search mode

This commit is contained in:
Nicolas Le Goff
2015-01-12 15:31:00 +01:00
committed by Benoît Burnichon
parent 0007bf58be
commit 9b6e20c6c5

View File

@@ -45,7 +45,7 @@ class RootController extends Controller
*/
public function getClientAction(Request $request)
{
$this->getSession()->getFlashBag()->add('client_deprecated');
$this->getSession()->getFlashBag()->add('client_deprecated', '');
if (!$this->getAuthenticator()->isAuthenticated() && null !== $request->query->get('nolog')) {
return $this->app->redirectPath('login_authenticate_as_guest', ['redirect' => 'client']);