From abe645f1d374189cb699ac7d87fb9915dcaf4a93 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 12 Apr 2019 10:37:01 -0700 Subject: [PATCH] settings: Set a default for SSO_APPEND_DOMAIN. This means that if a user comments out the field in /etc/zulip/settings.py, they won't get an error. --- zproject/settings.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zproject/settings.py b/zproject/settings.py index 3712ed5173..aa7e5f2f56 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -160,6 +160,9 @@ DEFAULT_SETTINGS = { 'SOCIAL_AUTH_SUBDOMAIN': None, 'SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET': get_secret('azure_oauth2_secret'), + # Other auth + 'SSO_APPEND_DOMAIN': None, + # Email gateway 'EMAIL_GATEWAY_PATTERN': '', 'EMAIL_GATEWAY_LOGIN': None,