diff --git a/app/auth/views.py b/app/auth/views.py index 09045826654cc972adc88990affc97e5cf3f09f6..82c528537119963b195b9770d2244741fff84c22 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'))