Skip to content

Commit

Permalink
Fixed saml2 auth
Browse files Browse the repository at this point in the history
  • Loading branch information
crisingulani committed Sep 4, 2024
1 parent 65c4104 commit bfad3a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions backend/pzserver/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit bfad3a8

Please sign in to comment.