Set verify_client_certificates default
This commit is contained in:
parent
796bbd834e
commit
0467596c7c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue