Skip to content
Snippets Groups Projects
Commit 43be1045 authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Fix static exception for unconfirmed user requests.

parent a3efdc87
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ def before_request():
if current_user.is_authenticated \
and not current_user.confirmed \
and request.blueprint != 'auth' \
and request.blueprint != 'static':
and request.endpoint != 'static':
return redirect(url_for('auth.unconfirmed'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment