mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Fix static exception for unconfirmed user requests.
This commit is contained in:
parent
a3efdc87cc
commit
43be1045d9
@ -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'))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user