diff options
author | Osman İlge Ünaldı <o.unaldi@etu.edu.tr> | 2022-03-15 02:22:02 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2022-03-15 02:22:02 +0300 |
commit | 0a2122d4960ebdca71a21cdb6038696f1746c3f1 (patch) | |
tree | 71e5a6dd68c4b7b75a76f6dac89ea1a6bafe06bf /app.go | |
parent | fa999c136de21d230f1f7b2f92ce281825ceacb3 (diff) |
feat: allow auth http.Client timeout to be configurable
Changelog: added
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -481,7 +481,7 @@ func (a *theApp) setAuth(config *cfg.Config) { var err error a.Auth, err = auth.New(config.General.Domain, config.Authentication.Secret, config.Authentication.ClientID, config.Authentication.ClientSecret, - config.Authentication.RedirectURI, config.GitLab.InternalServer, config.GitLab.PublicServer, config.Authentication.Scope) + config.Authentication.RedirectURI, config.GitLab.InternalServer, config.GitLab.PublicServer, config.Authentication.Scope, config.Authentication.Timeout) if err != nil { log.WithError(err).Fatal("could not initialize auth package") } |