Add login to security blueprint

This commit is contained in:
Matt Wright
2012-08-16 15:18:49 -04:00
parent 2fcfb80e8e
commit 1d378a6827
6 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
{%- if current_user.is_authenticated() -%}
<a href="{{ url_for('security.logout') }}">Log out</a>
{%- else -%}
<a href="{{ url_for('login') }}">Log in</a>
<a href="{{ url_for('security.login') }}">Log in</a>
{%- endif -%}
</li>
</ul>