Skip to content

Commit

Permalink
fix logout
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJField committed Feb 24, 2024
1 parent d8c9985 commit c01280a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<span class="navbar-text">
{% if user.is_authenticated %}
Logged in as: {{ user.username }}
<a href="logout">logout</a>
<a href="logout?next={{ request.get_full_path|urlencode }}">logout</a>
{% else %}
{% is_auth_method "GitHub" as is_github %}
{% if is_github %}
Expand Down
2 changes: 1 addition & 1 deletion templates/rest_framework/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<span class="navbar-text">
{% if user.is_authenticated %}
Logged in as: {{ user.username }}
<a href="logout">logout</a>
<a href="logout?next={{ request.get_full_path|urlencode }}">logout</a>
{% else %}
{% is_auth_method "GitHub" as is_github %}
{% if is_github %}
Expand Down

0 comments on commit c01280a

Please sign in to comment.