mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-05 05:18:28 +00:00
SSH2: only capture login info once
This commit is contained in:
parent
404f86fb61
commit
23f117e32b
@ -2278,7 +2278,9 @@ class Net_SSH2
|
|||||||
function login($username)
|
function login($username)
|
||||||
{
|
{
|
||||||
$args = func_get_args();
|
$args = func_get_args();
|
||||||
|
if (!$this->retry_connect) {
|
||||||
$this->auth[] = $args;
|
$this->auth[] = $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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user