Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
authorOsman İlge Ünaldı <o.unaldi@etu.edu.tr>2022-03-15 02:22:02 +0300
committerJaime Martinez <jmartinez@gitlab.com>2022-03-15 02:22:02 +0300
commit0a2122d4960ebdca71a21cdb6038696f1746c3f1 (patch)
tree71e5a6dd68c4b7b75a76f6dac89ea1a6bafe06bf /app.go
parentfa999c136de21d230f1f7b2f92ce281825ceacb3 (diff)
feat: allow auth http.Client timeout to be configurable
Changelog: added
Diffstat (limited to 'app.go')
-rw-r--r--app.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.go b/app.go
index 4fac3295..4f187f9d 100644
--- a/app.go
+++ b/app.go
@@ -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")
}