luci-proto-openfortivpn: add realm parameter support
authorXing-Kai Wang <redacted>
Sun, 10 May 2026 15:59:55 +0000 (23:59 +0800)
committerPaul Donald <redacted>
Mon, 25 May 2026 08:52:27 +0000 (11:52 +0300)
Add a 'realm' field in the advanced tab so users can easily pass this
parameter to the underlying netifd handler.

Signed-off-by: Xing-Kai Wang <redacted>
protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js

index 8aa233cac868e2c86c609bd1334877bf3bf806c6..e116ecbb73258bb3c15931ab0999bd34dda066e0 100644 (file)
@@ -173,5 +173,8 @@ return network.registerProtocol('openfortivpn', {
                o.dataype = 'ipaddr'
                o.optional = true;
 
+               o = s.taboption('advanced', form.Value, 'realm', _("Realm"), _("Optional. Specify the realm if your VPN gateway uses custom login portals."));
+               o.optional = true;
+
        }
 });
git clone https://git.99rst.org/PROJECT