Added login using auth0

This commit is contained in:
Allen
2023-09-23 16:15:50 -05:00
parent 4bade8e5ae
commit 90f10fd303
4 changed files with 25 additions and 6 deletions

View File

@ -27,7 +27,7 @@ SECRET_KEY = 'django-insecure---ve)lzpo4*frbw+zylax#h=frp-h5f4sx5*1-pipq&rgfl$k9
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['docker-django', 'localhost', 'seatstock.duckdns.org']
# Application definition
@ -86,6 +86,10 @@ DATABASES = {
}
ENV_FILE = find_dotenv()
if ENV_FILE:
load_dotenv(ENV_FILE)
# Password validation
# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators