Commit 31b5c4ad authored by David Woodhouse's avatar David Woodhouse

Revert "Don't treat Juniper 'realm' field as authgroup"

This reverts commit b0a50a7e.
parent b48ce600
......@@ -188,6 +188,8 @@ 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