mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-09 14:08:31 -06:00
Add logout button to header
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<span id="logo">runnerspace</span>
|
||||
<div class="header-login">
|
||||
{% if current_user.is_authenticated %}
|
||||
Logged in as <a href="/user/{{ current_user.username }}" class="username">{{ current_user.username }}</a>
|
||||
Logged in as <a href="/user/{{ current_user.username }}/" class="username">{{ current_user.username }}</a> | <a href="/logout">Logout</a>
|
||||
{% else %}
|
||||
<a href="/login">Login</a> or <a href="/signup">Sign-up</a>!
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user