diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index dae4a283..1426cc92 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -3307,7 +3307,7 @@ class SSH2 return false; } foreach ($this->auth as $auth) { - $result = call_user_func_array(array(&$this, 'parent::login'), $auth); + $result = call_user_func_array(array(&$this, 'login'), $auth); } return $result; }