Skip to content

Commit

Permalink
remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
nmasse-itix committed Nov 27, 2021
1 parent 8a2fff6 commit ae66f5e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
}
Expand Down

0 comments on commit ae66f5e

Please sign in to comment.