From 33315f378733325e7002c8aff547eb35043cfdba Mon Sep 17 00:00:00 2001 From: Jason Cameron Date: Wed, 25 Sep 2024 20:01:58 -0400 Subject: [PATCH] Update Local settings to allow registration Signed-off-by: Jason Cameron --- local_settings.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/local_settings.py b/local_settings.py index aa611d7..a6bc3f9 100755 --- a/local_settings.py +++ b/local_settings.py @@ -15,9 +15,8 @@ SECRET_KEY = os.environ.get('SECRET_KEY', '') # SECURITY WARNING: don't run with debug turned on in production! DEBUG = os.environ.get('DEBUG', '0') == '1' -HOST = os.environ.get('HOST', '') +HOST = os.environ.get('HOST', 'mcpt.ca') -# Uncomment and set to the domain names this site is intended to serve. # You must do this once you set DEBUG to False. ALLOWED_HOSTS = [HOST] @@ -356,7 +355,7 @@ MOSS_API_KEY = os.environ.get('MOSS_API_KEY', None) -REGISTRATION_OPEN = False +REGISTRATION_OPEN = True # Allow users to register DMOJ_RATING_COLORS = True X_FRAME_OPTIONS = 'DENY' @@ -371,8 +370,8 @@ MEDIA_URL = '/media/' DMOJ_ICS_REPORT_PERIODS = { - 1: {"name": "Mr. Guglielmi", "email": "test-void@fluix.one"}, - 2: {"name": "Mrs. Krasteva", "email": "test-void@fluix.one"}, + 1: {"name": "Mr. Guglielmi", "email": "Guglielmi@jasoncameron.dev"}, + 2: {"name": "Mrs. Krasteva", "email": "Krasteva@jasoncameron.dev"}, } if DEBUG: