Skip to content

Commit

Permalink
Juniper frmNextToken: recognize secidactionEnter as submit button
Browse files Browse the repository at this point in the history
ping #137

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
  • Loading branch information
dlenski committed May 7, 2020
1 parent 6ed6ff3 commit 3814d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion auth-juniper.c
Expand Up @@ -132,7 +132,8 @@ static int parse_input_node(struct openconnect_info *vpninfo, struct oc_auth_for
xmlnode_get_prop(node, "name", &opt->name);
if (opt->name && (!strcmp(opt->name, submit_button) ||
!strcmp(opt->name, "sn-postauth-proceed") ||
!strcmp(opt->name, "sn-preauth-proceed"))) {
!strcmp(opt->name, "sn-preauth-proceed") ||
!strcmp(opt->name, "secidactionEnter"))) {
/* Use this as the 'Submit' action for the form, by
implicitly adding it as a hidden option. */
xmlnode_get_prop(node, "value", &opt->_value);
Expand Down

0 comments on commit 3814d09

Please sign in to comment.