providers: update gitlab api endpoint to use latest version, v4

This commit is contained in:
Tanvir Alam
2017-11-06 12:05:58 -05:00
parent bfda078caa
commit f2a995b8d9
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ func NewGitLabProvider(p *ProviderData) *GitLabProvider {
p.ValidateURL = &url.URL{
Scheme: "https",
Host: "gitlab.com",
Path: "/api/v3/user",
Path: "/api/v4/user",
}
}
if p.Scope == "" {