Refactor templates and added url_for_security utility. Can also configure the blueprint name.

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