mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user