Skip to content

Commit

Permalink
Fix logout link.
Browse files Browse the repository at this point in the history
  • Loading branch information
illume committed Feb 14, 2018
1 parent ba7b5d8 commit 0b8edb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygameweb/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
{% if current_user and url_for_security %}
<div class="list-group">
{% if current_user.is_authenticated %}
<a class="list-group-item" href="{{ url_for_security('logout') }}, _external=True">Log Out</a>
<a class="list-group-item" href="{{ url_for_security('logout', _external=True) }}">Log Out</a>
<a class="list-group-item" href="{{ url_for('project.new_project') }}">Add a new project</a>
<a class="list-group-item" href="{{ url_for('project.projects') }}">Your projects</a>
{% else %}
Expand Down

0 comments on commit 0b8edb7

Please sign in to comment.