diff --git a/bundles/AdminBundle/Controller/Admin/LoginController.php b/bundles/AdminBundle/Controller/Admin/LoginController.php index c81c04ee0b9..fc121ef5fb5 100644 --- a/bundles/AdminBundle/Controller/Admin/LoginController.php +++ b/bundles/AdminBundle/Controller/Admin/LoginController.php @@ -145,7 +145,7 @@ public function csrfTokenAction(Request $request, CsrfProtectionHandler $csrfPro } /** - * @Route("/logout", name="pimcore_admin_logout") + * @Route("/logout", name="pimcore_admin_logout" , methods={"POST"}) */ public function logoutAction() { diff --git a/bundles/AdminBundle/Resources/views/Admin/Index/index.html.twig b/bundles/AdminBundle/Resources/views/Admin/Index/index.html.twig index d92ea411306..dd8da3b82b3 100644 --- a/bundles/AdminBundle/Resources/views/Admin/Index/index.html.twig +++ b/bundles/AdminBundle/Resources/views/Admin/Index/index.html.twig @@ -145,9 +145,15 @@
- - - + +