diff options
author | 2020-10-02 23:45:27 +0100 | |
---|---|---|
committer | 2020-10-02 23:45:27 +0100 | |
commit | 3e4661e984d85d4df6c2e12655bbde078efbaeb8 (patch) | |
tree | a526b3180d59184ed86e1369344fdcf74534402e | |
parent | Update rule 5 (diff) |
Only request the identify scope with Discord on OAuth2 login
-rw-r--r-- | pydis_site/settings.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 1f042c1b..eee559e4 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -401,3 +401,10 @@ ACCOUNT_USERNAME_VALIDATORS = "pydis_site.VALIDATORS" LOGIN_REDIRECT_URL = "home" SOCIALACCOUNT_ADAPTER = "pydis_site.utils.account.SocialAccountAdapter" +SOCIALACCOUNT_PROVIDERS = { + 'discord': { + 'SCOPE': [ + 'identify', + ], + } +} |