mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-06 05:27:52 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
63a76e88a1
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user