forgot to remove leftover variable in Ftps.update()

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-10-30 15:06:07 +01:00
parent e86f093d31
commit 19284cad00

View File

@@ -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'] . "'");
}