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 @@ - + +
+ + + +
BE RESPECTFUL AND HONOR OUR WORK FOR FREE & OPEN SOURCE SOFTWARE BY NOT REMOVING OUR LOGO. WE OFFER YOU THE POSSIBILITY TO ADDITIONALLY ADD YOUR OWN LOGO IN PIMCORE'S SYSTEM SETTINGS. THANK YOU! diff --git a/bundles/AdminBundle/Resources/views/Admin/Login/twoFactorAuthentication.html.twig b/bundles/AdminBundle/Resources/views/Admin/Login/twoFactorAuthentication.html.twig index 2fa7e82b168..dab97371662 100644 --- a/bundles/AdminBundle/Resources/views/Admin/Login/twoFactorAuthentication.html.twig +++ b/bundles/AdminBundle/Resources/views/Admin/Login/twoFactorAuthentication.html.twig @@ -18,7 +18,12 @@ - {{ 'Back to Login'|trans([],'admin') }} +
+ + {{ 'Back to Login'|trans([],'admin') }} +
+ + {{ pimcore_breach_attack_random_content() }} {% endblock %}