mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
auth: Add 'auth' subdomain to ROOT_SUBDOMAIN_ALIASES list.
This makes it easy to use the recommended/default value of SOCIAL_AUTH_SUBDOMAIN without having to edit ROOT_SUBDOMAIN_ALIASES.
This commit is contained in:
parent
f336f58b81
commit
3dd1613fff
@ -168,6 +168,10 @@ AUTHENTICATION_BACKENDS = (
|
||||
# subdomain; if you're using this setting, the "Callback URL" should be e.g.:
|
||||
# https://auth.zulip.example.com/complete/github/
|
||||
#
|
||||
# If you end up using a subdomain other then the default
|
||||
# recommendation, you must also set the 'ROOT_SUBDOMAIN_ALIASES' list
|
||||
# to include this subdomain.
|
||||
#
|
||||
#SOCIAL_AUTH_SUBDOMAIN = 'auth'
|
||||
|
||||
########
|
||||
|
||||
@ -355,7 +355,8 @@ DEFAULT_SETTINGS.update({
|
||||
'EMAIL_DELIVERER_DISABLED': False,
|
||||
|
||||
# What domains to treat like the root domain
|
||||
'ROOT_SUBDOMAIN_ALIASES': ["www"],
|
||||
# "auth" is by default a reserved subdomain for the use by python-social-auth.
|
||||
'ROOT_SUBDOMAIN_ALIASES': ["www", "auth"],
|
||||
# Whether the root domain is a landing page or can host a realm.
|
||||
'ROOT_DOMAIN_LANDING_PAGE': False,
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user