web/quotes: take discord settings from secrets

This commit is contained in:
Luke Granger-Brown 2021-01-19 23:54:59 +00:00
parent b7574660de
commit b0993ffd70

View file

@ -13,3 +13,16 @@ DATABASES = {
"NAME": "quotesdb", "NAME": "quotesdb",
} }
} }
SOCIALACCOUNT_PROVIDERS = {
"discord": {
"APP": {
"client_id": os.environ["DISCORD_CLIENT_ID"],
"secret": os.environ["DISCORD_SECRET"],
},
"SCOPE": [
"identify",
"email",
],
},
}