Unverified Commit dbb6429c by Patrick Steinhardt Committed by GitHub

Merge pull request #5305 from kas-luthor/bugfix/multiple-auth

Adds support for multiple SSH auth mechanisms being used sequentially
parents 9181e4b5 cb7fd1ed
......@@ -646,6 +646,14 @@ post_extract:
}
error = _git_ssh_authenticate_session(session, cred);
if (error == GIT_EAUTH) {
/* refresh auth methods */
if ((error = list_auth_methods(&auth_methods, session, urldata.username)) < 0)
goto done;
else
error = GIT_EAUTH;
}
}
if (error < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment