Set verify_client_certificates default

This commit is contained in:
Ken-Håvard Lieng 2016-01-14 06:35:26 +01:00
parent 796bbd834e
commit 0467596c7c

View File

@ -62,6 +62,8 @@ func init() {
viper.BindPFlag("port", rootCmd.Flags().Lookup("port")) viper.BindPFlag("port", rootCmd.Flags().Lookup("port"))
viper.BindPFlag("dir", rootCmd.PersistentFlags().Lookup("dir")) viper.BindPFlag("dir", rootCmd.PersistentFlags().Lookup("dir"))
viper.SetDefault("verify_client_certificates", true)
} }
func initConfig(configPath string) { func initConfig(configPath string) {