Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2020-03-09 19:49:37 -05:00
commit 63a76e88a1

View File

@ -412,9 +412,7 @@ class SFTP extends SSH2
*/ */
function login($username) function login($username)
{ {
$args = func_get_args(); if (!call_user_func_array(array(&$this, 'parent::login'), func_get_args())) {
$this->auth[] = $args;
if (!call_user_func_array(array(&$this, '_login'), $args)) {
return false; return false;
} }