Skip to content

Commit

Permalink
Change admin logout to normal logout
Browse files Browse the repository at this point in the history
  • Loading branch information
huangsam committed Mar 2, 2024
1 parent 41dd438 commit 4854c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/core/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</li>
<li class="nav-item">
<!-- Logout method must be POST, as GET was deprecated in Django 4.1 -->
<form id="logout-form" method="post" action="{% url 'admin:logout' %}">
<form id="logout-form" method="post" action="{% url 'logout' %}">
{% csrf_token %}
<button class="nav-link" type="submit">Logout</button>
</form>
Expand Down

0 comments on commit 4854c0a

Please sign in to comment.