From e0f3ff889b40e3eef3e778d7b5db969b6da86176 Mon Sep 17 00:00:00 2001 From: Jaap Marcus <9754650+jaapmarcus@users.noreply.github.com> Date: Fri, 16 Dec 2022 19:50:57 +0100 Subject: [PATCH] create_tmp_file was removed for security reasons --- src/library/Server/Manager/Hestia.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/Server/Manager/Hestia.php b/src/library/Server/Manager/Hestia.php index 165f8df60..4076cdd50 100644 --- a/src/library/Server/Manager/Hestia.php +++ b/src/library/Server/Manager/Hestia.php @@ -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'); } -} \ No newline at end of file +}