fix: use proper validate url for gitauth (#5426)

This was preventing custom validation URLs from being
used to verify git tokens.
This commit is contained in:
Kyle Carberry
2022-12-14 15:02:35 -06:00
committed by GitHub
parent 84995b7320
commit 8bc247d0c9
+1 -1
View File
@@ -121,7 +121,7 @@ func ConvertConfig(entries []codersdk.GitAuthConfig, accessURL *url.URL) ([]*Con
Regex: regex,
Type: typ,
NoRefresh: entry.NoRefresh,
ValidateURL: validateURL[typ],
ValidateURL: entry.ValidateURL,
})
}
return configs, nil