Fix error page that appears when logging out of the admin panel
This commit is contained in:
parent
fd7fc15687
commit
267ce0188a
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
{% if user.is_authenticated or "accounts/login/" in request.path or "accounts/logout/" in request.path %}
|
{% if user.is_authenticated or "accounts/login/" in request.path or "accounts/logout/" in request.path or "admin/logout/" in request.path %}
|
||||||
|
|
||||||
<h1>{% block heading %}{% endblock %}</h1>
|
<h1>{% block heading %}{% endblock %}</h1>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue