login is working

This commit is contained in:
2020-05-09 23:32:13 -05:00
parent 64bca1fd97
commit 3406ff3358
3 changed files with 21 additions and 3 deletions

View File

@ -13,8 +13,8 @@
<header>
<div class="float-right">
{% if g.user %}
<span>{{ g.user['username'] }}</span>
{% if session["account"] %}
<span>{{ session["account"] }}</span>
<a href="{{ url_for('auth.logout') }}">Log Out</a>
{% else %}
<a href="{{ url_for('auth.login') }}">Log In</a>