1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-26 20:24:39 +01:00

SSH2: ping tweaks

This commit is contained in:
terrafrost 2019-09-10 19:52:35 -05:00
parent 71aa8165fa
commit 69a11136ae
2 changed files with 3 additions and 3 deletions

View File

@ -414,7 +414,7 @@ class SFTP extends SSH2
*/
public function login($username, ...$args)
{
$this->auth[] = $args;
$this->auth[] = array_merge([$username], $args);
if (!$this->sublogin($username, ...$args)) {
return false;
}

View File

@ -971,7 +971,7 @@ class SSH2
* @var string|false
* @access private
*/
var $preferred_signature_format = false;
protected $preferred_signature_format = false;
/**
* Authentication Credentials
@ -979,7 +979,7 @@ class SSH2
* @var array
* @access private
*/
var $auth = [];
protected $auth = [];
/**
* Default Constructor.