Fix blueprint references from redirects & logged in user references

This commit is contained in:
Xevion
2022-03-26 21:51:21 -05:00
parent fcac137046
commit b4875dbb8b
2 changed files with 3 additions and 3 deletions

View File

@@ -2,8 +2,8 @@
<div class="header-primary">
<span id="logo">runnerspace</span>
<div class="header-login">
{% if logged_in %}
Logged in as <a href="/user/{{ user.username }}" class="username">{{ user.username }}</a>
{% if current_user.is_authenticated %}
Logged in as <a href="/user/{{ current_user.username }}" class="username">{{ current_user.username }}</a>
{% else %}
<a href="/login">Login</a> or <a href="/signup">Sign-up</a>!
{% endif %}