forked from mirrors/bookwyrm
Fix user profile error if not logged in.
This commit is contained in:
parent
c1cf211d00
commit
0d922dfa86
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
<div id="branding"><a href="/">📚FediReads</a></div>
|
||||
<div id="actions">
|
||||
<div id="account">
|
||||
{% if user.is_authenticated %}
|
||||
{% if request.user.is_authenticated %}
|
||||
<form name="logout" action="/logout/" method="post">
|
||||
{% csrf_token %}
|
||||
Welcome, {% include 'snippets/username.html' with user=request.user %}
|
||||
|
|
Loading…
Reference in a new issue