From ae66f5e9c2e9f7801888ced3427dc67de185dfe7 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Sat, 27 Nov 2021 18:10:36 +0100 Subject: [PATCH] remove duplicate code --- main.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/main.go b/main.go index 7e3fb4c..79fb6c8 100644 --- a/main.go +++ b/main.go @@ -136,10 +136,6 @@ func validateConfig() { log.Fatal("No OpenID Connect Client Secret provided!") } - if viper.GetString("WebInterface.OIDC.ClientSecret") == "" { - log.Fatal("No OpenID Connect Client Secret provided!") - } - if viper.GetString("WebInterface.Sessions.AuthenticationKey") == "" { log.Fatal("No Cookie Authentication Key provided!") }