diff --git a/app/auth/views.py b/app/auth/views.py index 09045826..82c52853 100644 --- a/app/auth/views.py +++ b/app/auth/views.py @@ -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'))