diff --git a/coderd/gitauth/config.go b/coderd/gitauth/config.go index 77abea9879195..91fe41ee51db5 100644 --- a/coderd/gitauth/config.go +++ b/coderd/gitauth/config.go @@ -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