fix redirect process in viewListener

This commit is contained in:
Manuel Raynaud
2013-09-03 12:25:47 +02:00
parent e4d59fc2e0
commit 8a84af399d

View File

@@ -86,7 +86,7 @@ class ViewListener implements EventSubscriberInterface
} catch (AuthenticationException $ex) {
// Redirect to the login template
$event->setResponse(Redirect::exec(URL::viewUrl($ex->getLoginTemplate())));
Redirect::exec(URL::viewUrl($ex->getLoginTemplate()));
}
}