do not apply auth to static endpoints
This commit is contained in:
parent
6be3ce89bf
commit
6c4e27655d
@ -3,7 +3,7 @@ from flask import g, redirect, url_for, session, request
|
|||||||
from atst.domain.users import Users
|
from atst.domain.users import Users
|
||||||
|
|
||||||
|
|
||||||
UNPROTECTED_ROUTES = ["atst.root", "atst.login_dev", "atst.login_redirect", "atst.unauthorized"]
|
UNPROTECTED_ROUTES = ["atst.root", "atst.login_dev", "atst.login_redirect", "atst.unauthorized", "static"]
|
||||||
|
|
||||||
def apply_authentication(app):
|
def apply_authentication(app):
|
||||||
@app.before_request
|
@app.before_request
|
||||||
|
Loading…
x
Reference in New Issue
Block a user