Skip to content

Commit

Permalink
Fix Juniper role select form to have an auth_id too
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
dwmw2 committed May 4, 2021
1 parent 613fa87 commit 45366d7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion auth-juniper.c
Expand Up @@ -347,9 +347,15 @@ static struct oc_auth_form *parse_roles_table_node(xmlNodePtr node)
if (!form)
return NULL;

form->auth_id = strdup("frmSelectRoles");
if (!form->auth_id) {
free(form);
return NULL;
};

opt = calloc(1, sizeof(*opt));
if (!opt) {
free(form);
free_auth_form(form);
return NULL;
}

Expand Down

0 comments on commit 45366d7

Please sign in to comment.