]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Juniper frmNextToken: recognize secidactionEnter as submit button
authorDaniel Lenski <dlenski@gmail.com>
Thu, 7 May 2020 16:12:09 +0000 (09:12 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Thu, 7 May 2020 16:13:34 +0000 (09:13 -0700)
ping #137

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
auth-juniper.c

index 7ca1361ab07d4e902420fba521fcfec49e46bd0d..19d439784f838c968f1bbb3dcf097a615b2a6205 100644 (file)
@@ -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);