From: Xing-Kai Wang Date: Sun, 10 May 2026 15:59:55 +0000 (+0800) Subject: luci-proto-openfortivpn: add realm parameter support X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=f6bbde5f8a054cf9b7b190070e1b57f277dbaedc;p=openwrt-luci.git luci-proto-openfortivpn: add realm parameter support 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 --- diff --git a/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js b/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js index 8aa233cac8..e116ecbb73 100644 --- a/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js +++ b/protocols/luci-proto-openfortivpn/htdocs/luci-static/resources/protocol/openfortivpn.js @@ -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; + } });