Skip to content

Commit

Permalink
Merge branch '2.0' into 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Dec 19, 2023
2 parents f0194cf + 90de8f1 commit d2cd758
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpseclib/Net/SSH2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2193,7 +2193,9 @@ private static function bad_algorithm_candidate($algorithm)
*/
public function login($username, ...$args)
{
$this->auth[] = func_get_args();
if (!$this->retry_connect) {
$this->auth[] = func_get_args();
}

// try logging with 'none' as an authentication method first since that's what
// PuTTY does
Expand Down

0 comments on commit d2cd758

Please sign in to comment.