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
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/config.go')
-rw-r--r--internal/config/config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index cef23be8..7644e5ad 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -85,6 +85,7 @@ type Auth struct {
ClientSecret string
RedirectURI string
Scope string
+ Timeout time.Duration
}
// Cache configuration for GitLab API
@@ -219,6 +220,7 @@ func loadConfig() (*Config, error) {
ClientSecret: *clientSecret,
RedirectURI: *redirectURI,
Scope: *authScope,
+ Timeout: *authTimeout,
},
Log: Log{
Format: *logFormat,