Skip to content

Commit

Permalink
Merge branch '1.0' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Mar 10, 2020
2 parents 8f6a69a + 229f6af commit 63a76e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions phpseclib/Net/SFTP.php
Expand Up @@ -412,9 +412,7 @@ function __construct($host, $port = 22, $timeout = 10)
*/
function login($username)
{
$args = func_get_args();
$this->auth[] = $args;
if (!call_user_func_array(array(&$this, '_login'), $args)) {
if (!call_user_func_array(array(&$this, 'parent::login'), func_get_args())) {
return false;
}

Expand Down

0 comments on commit 63a76e8

Please sign in to comment.