commit 5b69b3634af9c42c7d51e1286ba2a0c3ed6fb068
parent cdf3604283e18f066d351778ef4921e320e19a4d
Author: Brennen T. Mazur <brennen@madis.cool>
Date: Wed, 22 Feb 2023 16:38:03 -0700
Merge branch 'auth' of git.brennen.work:stc into auth
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/templates/base.html b/app/templates/base.html
@@ -27,7 +27,7 @@
{% endif %}
<!-- END navigation/navi logic -->
<!-- BEGIN login/logout logic -->
- {% if current_user.is_anonymous %}
+ {% if current_user.is_anonymous == True %}
<a href="{{ url_for('login') }}"><div id="logout">Login</div></a>
{% else %}
<a href="{{ url_for('logout') }}"><div id="logout">Logout</div></a>