|
|
@ -13,6 +13,7 @@ def before_request(): |
|
|
|
if current_user.is_authenticated: |
|
|
|
current_user.ping() |
|
|
|
if not current_user.confirmed \ |
|
|
|
and request.endpoint \ |
|
|
|
and request.blueprint != 'auth' \ |
|
|
|
and request.endpoint != 'static': |
|
|
|
return redirect(url_for('auth.unconfirmed')) |
|
|
|