Skip to content

Commit 8bc247d

Browse files
authored
fix: use proper validate url for gitauth (coder#5426)
This was preventing custom validation URLs from being used to verify git tokens.
1 parent 84995b7 commit 8bc247d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/gitauth/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func ConvertConfig(entries []codersdk.GitAuthConfig, accessURL *url.URL) ([]*Con
121121
Regex: regex,
122122
Type: typ,
123123
NoRefresh: entry.NoRefresh,
124-
ValidateURL: validateURL[typ],
124+
ValidateURL: entry.ValidateURL,
125125
})
126126
}
127127
return configs, nil

0 commit comments

Comments
 (0)