create_tmp_file was removed for security reasons

This commit is contained in:
Jaap Marcus authored and GitHub committed 2022-12-16 19:50:57 +01:00
1 parent b9d5fd527a
commit e0f3ff889b
1 file changed
+2 -2
+2 -2
View File
@@ -357,7 +357,7 @@ class Server_Manager_Hestia extends Server_Manager
'returncode' => $vst_returncode,
'cmd' => $vst_command,
'arg1' => $a->getUsername(),
'arg2' => $this->create_tmp_file($new),
'arg2' => $new,
];
// Make request and change password
$result = $this->_makeRequest($postvars);
@@ -377,4 +377,4 @@ class Server_Manager_Hestia extends Server_Manager
{
throw new Server_Exception('Server Manager Hestia CP Error: Not Supported');
}
}
}