From 982439a8d8a7fa4a19b29781a08042ccd670a644 Mon Sep 17 00:00:00 2001 From: Miouge1 Date: Tue, 12 Sep 2017 23:42:07 +0200 Subject: [PATCH] Reduce the default GitLab scope --- providers/gitlab.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/gitlab.go b/providers/gitlab.go index 708283a..d036ac7 100644 --- a/providers/gitlab.go +++ b/providers/gitlab.go @@ -36,7 +36,7 @@ func NewGitLabProvider(p *ProviderData) *GitLabProvider { } } if p.Scope == "" { - p.Scope = "api" + p.Scope = "read_user" } return &GitLabProvider{ProviderData: p} }