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 <my@xkwang.org>
This commit is contained in:
Xing-Kai Wang
2026-05-10 23:59:55 +08:00
committed by Paul Donald
parent 3a3a3196aa
commit f6bbde5f8a
@@ -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;
}
});