summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-11-26 15:13:24 +0100
committerFlorian Eckert <fe@dev.tdt.de>2018-11-27 10:09:57 +0100
commit78cc310cf4e5946e58f846376449847f207f789d (patch)
tree622812b2d92c5363aef051c1ce6f58ba12d971dc /applications/luci-app-openvpn
parent4fd92b1f5261343039feb2e7475bc67dceb0ca06 (diff)
luci-app-openvpn: add missing verify_client_cert option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-openvpn')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
index e9b4aceff..9c032d5ab 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -546,6 +546,10 @@ local knownParams = {
{ "", "local", "def1", "local def1" },
translate("Automatically redirect default route"),
{ client="1" } },
+ { Value,
+ "verify_client_cert",
+ { "none", "optional", "require" },
+ translate("Specify whether the client is required to supply a valid certificate") },
} },
{ "Cryptography", {