From 19284cad00eae6ed7dcc5db45f4cbded301d5294 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Sun, 30 Oct 2022 15:06:07 +0100 Subject: [PATCH] forgot to remove leftover variable in Ftps.update() Signed-off-by: Michael Kaufmann --- lib/Froxlor/Api/Commands/Ftps.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Froxlor/Api/Commands/Ftps.php b/lib/Froxlor/Api/Commands/Ftps.php index e0a7d013..76826087 100644 --- a/lib/Froxlor/Api/Commands/Ftps.php +++ b/lib/Froxlor/Api/Commands/Ftps.php @@ -451,8 +451,7 @@ class Ftps extends ApiCommand implements ResourceEntity Database::pexecute($stmt, [ "customerid" => $customer['customerid'], "id" => $id, - "password" => $cryptPassword, - "passwordc" => $cryptPasswordCompat + "password" => $cryptPassword ], true, true); $this->logger()->logAction($this->isAdmin() ? FroxlorLogger::ADM_ACTION : FroxlorLogger::USR_ACTION, LOG_INFO, "[API] updated ftp-account password for '" . $result['username'] . "'"); }