Skip to content
Snippets Groups Projects
Commit 9c6753f1 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Add logout button when in web browsable API

parent 7b25ca58
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@ GraceDB — REST API
<li>
{% if user.is_authenticated %}
Authenticated as: {{ user.first_name }} {{ user.last_name }}
</li>
<li><a href="{% url "logout" %}">Logout</a></li>
{% else %}
<a href="{% url "login" %}"><b>Login</b></a>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment