Merge branch '3.0'

This commit is contained in:
terrafrost 2023-12-18 22:55:29 -06:00
commit 05414ffee8
1 changed files with 3 additions and 1 deletions

View File

@ -1915,7 +1915,9 @@ class SSH2
*/
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