Skip to content

Commit d50cea7

Browse files
committed
fix(controller): remove dead web link to logout page
1 parent d10638b commit d50cea7

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

controller/web/templates/web/account.html

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,10 @@ <h3>
1919
{{ user.email }}
2020
</div>
2121
</div>
22-
<form method="post" action="{% url 'rest_framework:logout' %}">
23-
{% csrf_token %}
24-
{% if redirect_field_value %}
25-
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
26-
{% endif %}
27-
<button type="submit" class="btn btn-link">{% trans 'Log Out' %}</button>
22+
<div class="row-fluid">
2823
{% if user.is_staff %}
2924
<a href="{% url 'admin:index' %}" class="btn btn-link">Admin</a>
3025
{% endif %}
31-
</form>
26+
</div>
3227
</div>
3328
{% endblock %}

0 commit comments

Comments
 (0)