mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-19 05:00:56 +00:00
Fix static exception for unconfirmed user requests.
This commit is contained in:
1 parent
a3efdc87cc
commit
43be1045d9
1 file changed
+1
-1
+1
-1
@@ -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'))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user