summaryrefslogtreecommitdiffstats
path: root/templates/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layout.html')
-rw-r--r--templates/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/layout.html b/templates/layout.html
index b102989..255056c 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -51,7 +51,7 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
- {% if current_user.is_authenticated %}
+ {% if current_user.is_authenticated() %}
<li><a href="{{ url_for('logout') }}"><span class="glyphicon glyphicon-log-out"></span> Logout</a></li>
{% else %}
<li><a href="{{ url_for('login') }}"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>