File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packaging/etc/openvpn-auth-oauth2 Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -109,12 +109,12 @@ func validateOAuth2Config(conf Config) error {
109109
110110 if conf .OpenVPN .ClientConfig .Enabled {
111111 if conf .OpenVPN .CommonName .Mode == CommonNameModeOmit {
112- return errors .New ("openvpn.common-name.mode: omit is not supported with openvpn.ccd .enabled" )
112+ return errors .New ("openvpn.common-name.mode: omit is not supported with openvpn.client-config .enabled" )
113113 }
114114
115115 file , err := conf .OpenVPN .ClientConfig .Path .Open ("." )
116116 if err != nil {
117- return fmt .Errorf ("openvpn.ccd .path: %w" , err )
117+ return fmt .Errorf ("openvpn.client-config .path: %w" , err )
118118 }
119119
120120 _ = file .Close ()
Original file line number Diff line number Diff line change 6767# - "test"
6868# - "test2"
6969# - "wildcard.*"
70- # ccd :
70+ # client-config :
7171# enabled: false
7272# path: "/etc/openvpn-auth-oauth2/client-config/"
7373# token-claim: ""
You can’t perform that action at this time.
0 commit comments