Skip to content

Commit

Permalink
Merge branch '3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Dec 19, 2023
2 parents 0a70605 + d2cd758 commit 05414ff
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 @@ -1915,7 +1915,9 @@ private static function bad_algorithm_candidate($algorithm): bool
*/
public function login(string $username, ...$args): bool
{
$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 05414ff

Please sign in to comment.