luci-app-openvpn: add missing verify_client_cert option
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 26 Nov 2018 14:13:24 +0000 (15:13 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 27 Nov 2018 09:09:57 +0000 (10:09 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index e9b4aceffe4ba69a3ac6c6e9287d9b9056115bc9..9c032d5ab1825fd3e61113b4ed757ada6e1d6efd 100644 (file)
@@ -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", {