Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "Don't treat Juniper 'realm' field as authgroup"
This reverts commit b0a50a7.
  • Loading branch information
dwmw2 committed Aug 9, 2018
1 parent b48ce60 commit 31b5c4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auth-juniper.c
Expand Up @@ -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;
Expand Down

0 comments on commit 31b5c4a

Please sign in to comment.