diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-25 01:50:44 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-02 04:22:17 +0100 |
commit | ca5e2f13aa205f71f9cb95fc0f05b2df8b03fc5b (patch) | |
tree | a5bbdfce5a2d7bdccc4439e81f72833dc6523b1f /accounts/templates/base.html | |
parent | 0f5553f09a8297738430e4cbc50e3bff48895ad6 (diff) | |
download | web-ca5e2f13aa205f71f9cb95fc0f05b2df8b03fc5b.tar.gz web-ca5e2f13aa205f71f9cb95fc0f05b2df8b03fc5b.tar.bz2 web-ca5e2f13aa205f71f9cb95fc0f05b2df8b03fc5b.zip |
Create new login blueprint
The login and logout view are now in the login blueprint.
Diffstat (limited to 'accounts/templates/base.html')
-rw-r--r-- | accounts/templates/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/templates/base.html b/accounts/templates/base.html index 084e747..dbb3d0b 100644 --- a/accounts/templates/base.html +++ b/accounts/templates/base.html @@ -38,10 +38,10 @@ {%- if current_user.uid in config.get('ADMIN_USERS', []) %} <li><a href="{{ url_for('admin.index') }}">Admin</a></li> {%- endif %} - <li><a href="{{ url_for('default.logout') }}">Abmelden</a></li> + <li><a href="{{ url_for('login.logout') }}">Abmelden</a></li> {%- else %} <li>Nicht angemeldet</li> - <li><a href="{{ url_for('default.login') }}">Login</a></li> + <li><a href="{{ url_for('login.login') }}">Login</a></li> {%- endif %} </ul> </nav> |