From 97479955105d86db3febd92da552e51e20240291 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Mon, 8 Aug 2022 13:24:29 +0200 Subject: [PATCH] [BS5] redirect to /debug after login --- data/web/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/index.php b/data/web/index.php index c319d5ef..05b3a7f4 100644 --- a/data/web/index.php +++ b/data/web/index.php @@ -8,7 +8,7 @@ if (isset($_SESSION['mailcow_cc_role']) && isset($_SESSION['oauth2_request'])) { exit(); } elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'admin') { - header('Location: /admin'); + header('Location: /debug'); exit(); } elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'domainadmin') {