mirror of
https://github.com/wassname/flask-security.git
synced 2026-10-01 12:00:44 +08:00
Add login to security blueprint
This commit is contained in:
1 parent
2fcfb80e8e
commit
1d378a6827
6 files changed
+13
-14
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user