Move GOOGLE_OAUTH2_CLIENT_SECRET to be read in settings.py.

(imported from commit 814dc32cd6099516486be76fa8baffbafda69596)
This commit is contained in:
Yoyo Zhou
2015-08-20 22:10:04 -07:00
parent 4b3874988f
commit bd5fc484f0
2 changed files with 2 additions and 2 deletions

View File

@@ -93,11 +93,9 @@ GOOGLE_CLIENT_ID = "835904834568-77mtr5mtmpgspj9b051del9i9r5t4g4n.apps.googleuse
if DEPLOYED:
GOOGLE_OAUTH2_CLIENT_ID = '835904834568-ag4p18v0sd9a0tero14r3gekn6shoen3.apps.googleusercontent.com'
GOOGLE_OAUTH2_CLIENT_SECRET = get_secret('google_oauth2_client_secret')
else:
# Google OAUTH2 for dev with the redirect uri set to http://localhost:9991/accounts/login/google/done/
GOOGLE_OAUTH2_CLIENT_ID = '607830223128-4qgthc7ofdqce232dk690t5jgkm1ce33.apps.googleusercontent.com'
GOOGLE_OAUTH2_CLIENT_SECRET = get_secret('dev_google_oauth2_client_secret')
# Administrator domain for this install
ADMIN_DOMAIN = "zulip.com"