From: Marco Gulino <marco@gulinux.net>
Date: Thu, 30 Apr 2020 09:48:31 +0000 (+0100)
Subject: luci-proto-openconnect: add usergroup option
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F3978%2Fhead;p=oweals%2Fluci.git

luci-proto-openconnect: add usergroup option

Signed-off-by: Marco Gulino <marco@gulinux.net>
---

diff --git a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
index 86fd27f29..1f07f9751 100644
--- a/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
+++ b/protocols/luci-proto-openconnect/htdocs/luci-static/resources/protocol/openconnect.js
@@ -102,6 +102,7 @@ return network.registerProtocol('openconnect', {
 
 		s.taboption('general', form.Value, 'serverhash', _("VPN Server's certificate SHA1 hash"));
 		s.taboption('general', form.Value, 'authgroup', _('Auth Group'));
+		s.taboption('general', form.Value, 'usergroup', _('User Group'));
 		s.taboption("general", form.Value, "username", _("Username"));
 
 		o = s.taboption('general', form.Value, 'password', _('Password'));