mirror of
https://github.com/rmontanana/microblog.git
synced 2025-08-19 01:05:52 +00:00
Chapter 6
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
{% if current_user.is_anonymous %}
|
||||
<a href="{{ url_for('login') }}">Login</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('user', username = current_user.username) }}">Profile</a>
|
||||
<a href="{{ url_for('logout') }}">Logout</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user