Skip to content

Commit

Permalink
Merge branch 'automatically_enter_username_into_all_forms' into 'master'
Browse files Browse the repository at this point in the history
With --user, enter username in all forms, not just the first

See merge request openconnect/openconnect!220
  • Loading branch information
dlenski committed Jun 29, 2021
2 parents 2d75177 + dba3377 commit 67a5126
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions main.c
Expand Up @@ -2614,8 +2614,7 @@ static int process_auth_form_cb(void *_vpninfo,
if (username &&
(!strncasecmp(opt->name, "user", 4) ||
!strncasecmp(opt->name, "uname", 5))) {
opt->_value = username;
username = NULL;
opt->_value = strdup(username);
} else {
opt->_value = saved_form_field(vpninfo, form->auth_id, opt->name);
if (!opt->_value)
Expand Down
1 change: 1 addition & 0 deletions www/changelog.xml
Expand Up @@ -48,6 +48,7 @@
<a href="https://gitlab.gnome.org/GNOME/NetworkManager-openconnect/-/issues/53">#53</a>)</i></li>
<li>Disable brittle "system policy" enforcement where it cannot be gracefully overridden at user request. <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1960763"><i>(RH#1960763)</i></a>.</li>
<li>Pass "portal cookie" fields from GlobalProtect portal to gateway to avoid repetition of password- or SAML-based login (<a href="https://gitlab.com/openconnect/openconnect/-/merge_requests/199">!199</a>)</li>
<li>With <tt>--user</tt>, enter username supplied via command-line into all authentication forms, not just the first. (<a href="https://gitlab.com/openconnect/openconnect/-/issues/267">#267</a>, <a href="https://gitlab.com/openconnect/openconnect/-/merge_requests/220">!220</a>).</li>
</ul><br/>
</li>
<li><b><a href="https://www.infradead.org/openconnect/download/openconnect-8.10.tar.gz">OpenConnect v8.10</a></b>
Expand Down

0 comments on commit 67a5126

Please sign in to comment.