From 0542a55eb93c95220f677d7174d239173117777a Mon Sep 17 00:00:00 2001 From: Ernesto Rico Schmidt <ernesto@helsinki.at> Date: Thu, 26 Jan 2023 18:09:03 -0400 Subject: [PATCH] Remove superfluous settings --- steering/settings.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/steering/settings.py b/steering/settings.py index a205d843..558296d1 100644 --- a/steering/settings.py +++ b/steering/settings.py @@ -162,21 +162,6 @@ USE_TZ = True # django-oidc-provider needs timezones in database LOGIN_URL = "/admin/login/" # Login page OIDC redirects to OIDC_EXTRA_SCOPE_CLAIMS = "steering.oidc_provider_settings.AuraScopeClaims" -if os.getenv("STEERING_PORT"): - SITE_URL = ( - os.getenv("AURA_PROTO", default="http") - + "://" - + os.getenv("AURA_HOST", default="localhost") - + ":" - + os.getenv("STEERING_PORT") - ) -else: - SITE_URL = ( - os.getenv("AURA_PROTO", default="http") - + "://" - + os.getenv("AURA_HOST", default="localhost") - ) - # WSGI_APPLICATION = 'steering.wsgi.application'; if os.getenv("USE_LDAP_AUTH"): -- GitLab