diff --git a/lib/Froxlor/Api/Commands/Customers.php b/lib/Froxlor/Api/Commands/Customers.php index 8bf3848277..95ec03d83d 100644 --- a/lib/Froxlor/Api/Commands/Customers.php +++ b/lib/Froxlor/Api/Commands/Customers.php @@ -773,6 +773,7 @@ public function add() $dbm->getManager()->grantPrivilegesTo($loginname, $password, $mysql_access_host, false, false); } $dbm->getManager()->flushPrivileges(); + Database::needRoot(false); } } @@ -1358,6 +1359,7 @@ public function update() } } $dbm->getManager()->flushPrivileges(); + Database::needRoot(false); } // Retrieve customer's databases @@ -1681,6 +1683,7 @@ public function delete() $dbm->getManager()->deleteUser($result['loginname'], $mysql_access_host); } $dbm->getManager()->flushPrivileges(); + Database::needRoot(false); } // remove all databases