Skip to content

Commit 21fcb72

Browse files
hvtwouterj
authored andcommitted
custom error pages - Reference to security functions warning is no more in 2.8
In the example code of the custom error page, there was a comment reference to the `Avoiding Exceptions when Using Security Functions in Error Templates' section, that lived in the pre-2.8 documentation. That subsection is no longer there.
1 parent 732bb33 commit 21fcb72

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

controller/error_pages.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ To override the 404 error template for HTML pages, create a new
9999
{% block body %}
100100
<h1>Page not found</h1>
101101

102-
{# example security usage, see below #}
103102
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
104103
{# ... #}
105104
{% endif %}

0 commit comments

Comments
 (0)