From 4ceea167af6ab7ac32cb2fad607b533e25d85ab6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 14 Nov 2019 23:57:44 +0100 Subject: [PATCH] Add security denied template --- Resources/views/security/denied.html.twig | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Resources/views/security/denied.html.twig diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig new file mode 100644 index 0000000..4dbd719 --- /dev/null +++ b/Resources/views/security/denied.html.twig @@ -0,0 +1,7 @@ +{% extends '@RapsysAir/base.html.twig' %} +{% block content %} +
+

{{ section }}

+

{% if message %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}

+
+{% endblock %} -- 2.41.1