Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2023-12-18 22:55:17 -06:00
commit d2cd758ecb

View File

@ -2193,7 +2193,9 @@ class SSH2
*/ */
public function login($username, ...$args) 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 // try logging with 'none' as an authentication method first since that's what
// PuTTY does // PuTTY does