From a09ed211bc39f17855a880cc19e63d256180851d Mon Sep 17 00:00:00 2001 From: "andre.peters" Date: Thu, 18 Jan 2018 11:55:44 +0100 Subject: [PATCH] [Web] Fix sieve detection for users --- data/web/inc/functions.docker.inc.php | 7 ------- data/web/modals/user.php | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/data/web/inc/functions.docker.inc.php b/data/web/inc/functions.docker.inc.php index fed2e1d1..5b6afa9f 100644 --- a/data/web/inc/functions.docker.inc.php +++ b/data/web/inc/functions.docker.inc.php @@ -1,12 +1,5 @@ 'danger', - 'msg' => sprintf($lang['danger']['access_denied']) - ); - return false; - } $curl = curl_init(); curl_setopt($curl, CURLOPT_HTTPHEADER,array( 'Content-Type: application/json' )); switch($action) { diff --git a/data/web/modals/user.php b/data/web/modals/user.php index 8c607259..3d48dc06 100644 --- a/data/web/modals/user.php +++ b/data/web/modals/user.php @@ -162,7 +162,7 @@ if (!isset($_SESSION['mailcow_cc_role'])) { -