From 43be1045d992470265a10eb832760c2d204636e3 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Tue, 9 Jul 2019 13:18:46 +0200
Subject: [PATCH] Fix static exception for unconfirmed user requests.
---
app/auth/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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'))