Overhauled the way in which user details are passed to the frontend
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
<input type="submit" class="search-button">
|
||||
</form>
|
||||
{% if user != None: %}
|
||||
<a href="/logout">Welcome, {{ user }}</a>
|
||||
<a href="/logout">Welcome, {{ user.username }}</a>
|
||||
{% else %}
|
||||
<a href="/login">Login/Signup</a>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user