Fix undefined constant error - fixes #115
This commit is contained in:
@ -10,7 +10,7 @@ if(empty($_SESSION['sftp_pass'])){
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
$ssh=ssh2_connect('127.0.0.1') or die ('No Connection to SFTP server!');
|
$ssh=ssh2_connect('127.0.0.1') or die ('No Connection to SFTP server!');
|
||||||
if(@!ssh2_auth_password($ssh, $user[system_account], $_SESSION['sftp_pass'])){
|
if(@!ssh2_auth_password($ssh, $user['system_account'], $_SESSION['sftp_pass'])){
|
||||||
send_login();
|
send_login();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user