From 6c4e27655d61c7be3998ab88fd62d8f457f72603 Mon Sep 17 00:00:00 2001 From: dandds Date: Mon, 6 Aug 2018 14:27:42 -0400 Subject: [PATCH] do not apply auth to static endpoints --- atst/domain/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atst/domain/auth.py b/atst/domain/auth.py index 4dcb7e22..ee3ff973 100644 --- a/atst/domain/auth.py +++ b/atst/domain/auth.py @@ -3,7 +3,7 @@ from flask import g, redirect, url_for, session, request 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): @app.before_request