Reduce the default GitLab scope

This commit is contained in:
Miouge1 2017-09-12 23:42:07 +02:00 committed by GitHub
parent e87c3eee13
commit 982439a8d8

View File

@ -36,7 +36,7 @@ func NewGitLabProvider(p *ProviderData) *GitLabProvider {
}
}
if p.Scope == "" {
p.Scope = "api"
p.Scope = "read_user"
}
return &GitLabProvider{ProviderData: p}
}