[Web] Feature: TLS policy maps
[Web] Avoid php extensions in links [Web] Minor fixes
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
require_once 'inc/prerequisites.inc.php';
|
||||
|
||||
if (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'admin') {
|
||||
header('Location: /admin.php');
|
||||
header('Location: /admin');
|
||||
exit();
|
||||
}
|
||||
elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'domainadmin') {
|
||||
header('Location: /mailbox.php');
|
||||
header('Location: /mailbox');
|
||||
exit();
|
||||
}
|
||||
elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == 'user') {
|
||||
header('Location: /user.php');
|
||||
header('Location: /user');
|
||||
exit();
|
||||
}
|
||||
require_once 'inc/header.inc.php';
|
||||
|
Reference in New Issue
Block a user