Commit b0a50a7e authored by David Woodhouse's avatar David Woodhouse

Don't treat Juniper 'realm' field as authgroup

The only point in the authgroup thing for the UI is to allow OpenConnect
to re-request the set of query fields for the new group. But the Juniper
protocol doesn't do that, and it's causing problems.
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent f5b09229
......@@ -188,8 +188,6 @@ static int parse_select_node(struct openconnect_info *vpninfo, struct oc_auth_fo
xmlnode_get_prop(node, "name", &opt->form.name);
opt->form.label = strdup(opt->form.name);
opt->form.type = OC_FORM_OPT_SELECT;
if (!strcmp(opt->form.name, "realm"))
form->authgroup_opt = opt;
for (child = node->children; child; child = child->next) {
struct oc_choice **new_choices;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment