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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user