Skip to content

Commit

Permalink
demonstrate that SFTP::login is being called
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Apr 2, 2020
1 parent 7e67f88 commit 0c452a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phpseclib/Net/SFTP.php
Expand Up @@ -412,6 +412,7 @@ function __construct($host, $port = 22, $timeout = 10)
*/
function login($username)
{
exit('zzz');
if (!call_user_func_array(array(&$this, 'parent::login'), func_get_args())) {
return false;
}
Expand Down

0 comments on commit 0c452a6

Please sign in to comment.