Fix logout
parent
fdd72d0069
commit
4cd9f78065
|
|
@ -75,5 +75,8 @@
|
|||
{% if user.has_usable_password %}
|
||||
<a href="{% url 'admin:password_change' %}">{% translate 'Change password' %}</a> /
|
||||
{% endif %}
|
||||
<a href="{% url 'admin:logout' %}">{% translate 'Log out' %}</a>
|
||||
<form>
|
||||
{% csrf_token %}
|
||||
<button formmethod="{% url 'admin:logout' %}" formmethod="post" type="submit">{% translate 'Log out' %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Reference in New Issue