Reduce the default GitLab scope
This commit is contained in:
		
							parent
							
								
									e87c3eee13
								
							
						
					
					
						commit
						982439a8d8
					
				|  | @ -36,7 +36,7 @@ func NewGitLabProvider(p *ProviderData) *GitLabProvider { | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 	if p.Scope == "" { | 	if p.Scope == "" { | ||||||
| 		p.Scope = "api" | 		p.Scope = "read_user" | ||||||
| 	} | 	} | ||||||
| 	return &GitLabProvider{ProviderData: p} | 	return &GitLabProvider{ProviderData: p} | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue