From c7a83045fcf94f888df618e351ec71466f213b3d Mon Sep 17 00:00:00 2001 From: David Prevot Date: Mon, 24 Jul 2023 17:58:22 +0200 Subject: [PATCH] =?UTF-8?q?[WIP]=20sudo=20script=20doesn=E2=80=99t=20work?= =?UTF-8?q?=20yet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/lib/Config.php | 3 ++- htdocs/lib/FormController.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/Config.php b/htdocs/lib/Config.php index bdf2907..f979136 100644 --- a/htdocs/lib/Config.php +++ b/htdocs/lib/Config.php @@ -1,7 +1,7 @@ 1, 'message' => 'Suppression du compte '.self::$form['uid'].'...'); try { - self::$domain->delAccount(self::$form['uid'],self::$form['cn']); + self::$domain->delAccount(self::$form['uid'],self::$form['domain']); PageController::$alerts[] = array('type' => 0, 'message' => "Suppression effectuée.")); } catch (Exception $e) { PageController::$alerts[] = array('type' => 2, 'message' => $e->getMessage());