From fa7c4b8f2fd700f40000488fdd8ea7e57eca1105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=99=9E=E5=86=B0?= Date: Thu, 28 Jul 2016 11:34:38 +0800 Subject: [PATCH] sentry should acquire less permission --- sentry_auth_github/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry_auth_github/constants.py b/sentry_auth_github/constants.py index 88d0918..ce82ba2 100644 --- a/sentry_auth_github/constants.py +++ b/sentry_auth_github/constants.py @@ -19,7 +19,7 @@ ERR_NO_SINGLE_VERIFIED_PRIMARY_EMAIL = 'We were unable to find a single verified, primary email address associated with your GitHub acount.' # we request repo as we share scopes with the other GitHub integration -SCOPE = 'user:email,read:org,repo' +SCOPE = 'user:email,read:org' # deprecated please use GITHUB_API_DOMAIN and GITHUB_BASE_DOMAIN DOMAIN = getattr(settings, 'GITHUB_DOMAIN', 'api.github.com')