fix homedir of automatically added ftp-user for new customers, thx Gamerboy59 for finding this

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-08-07 14:01:05 +02:00
parent 90e7f7af0c
commit 7364dca53d

View File

@@ -565,7 +565,7 @@ class Customers extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resource
} }
$this->apiCall('Ftps.add', array( $this->apiCall('Ftps.add', array(
'customerid' => $customerid, 'customerid' => $customerid,
'path' => $documentroot, 'path' => '/',
'ftp_password' => $password, 'ftp_password' => $password,
'ftp_description' => "Default", 'ftp_description' => "Default",
'sendinfomail' => 0, 'sendinfomail' => 0,