From 7364dca53d3f3fdfd74eb13b8db131e493d01ada Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 7 Aug 2019 14:01:05 +0200 Subject: [PATCH] fix homedir of automatically added ftp-user for new customers, thx Gamerboy59 for finding this Signed-off-by: Michael Kaufmann --- lib/Froxlor/Api/Commands/Customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Api/Commands/Customers.php b/lib/Froxlor/Api/Commands/Customers.php index f888ad0f..11e0b014 100644 --- a/lib/Froxlor/Api/Commands/Customers.php +++ b/lib/Froxlor/Api/Commands/Customers.php @@ -565,7 +565,7 @@ class Customers extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resource } $this->apiCall('Ftps.add', array( 'customerid' => $customerid, - 'path' => $documentroot, + 'path' => '/', 'ftp_password' => $password, 'ftp_description' => "Default", 'sendinfomail' => 0,