Skip to content

Commit

Permalink
Reduce the default GitLab scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Miouge1 authored Sep 12, 2017
1 parent e87c3ee commit 982439a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/gitlab.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewGitLabProvider(p *ProviderData) *GitLabProvider {
}
}
if p.Scope == "" {
p.Scope = "api"
p.Scope = "read_user"
}
return &GitLabProvider{ProviderData: p}
}
Expand Down

0 comments on commit 982439a

Please sign in to comment.