From bfad3a81527b425da6e609e1cd60a9725d536857 Mon Sep 17 00:00:00 2001 From: Cristiano Singulani Date: Wed, 4 Sep 2024 14:20:47 -0300 Subject: [PATCH] Fixed saml2 auth --- backend/pzserver/settings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/pzserver/settings.py b/backend/pzserver/settings.py index 98cf897..c13b68f 100644 --- a/backend/pzserver/settings.py +++ b/backend/pzserver/settings.py @@ -13,7 +13,8 @@ import os import saml2 -import saml2.saml + +# import saml2.saml # Build paths inside the project like this: BASE_DIR / 'subdir'. # BASE_DIR = Path(__file__).resolve().parent.parent @@ -29,7 +30,7 @@ SECRET_KEY = os.getenv("SECRET_KEY") # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = int(os.getenv("DEBUG", 1)) +DEBUG = int(os.getenv("DEBUG", "1")) # Application definition