[Web] Fix container ctrl session
This commit is contained in:
parent
418f443ee5
commit
752efa2188
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
session_start();
|
||||
require_once $_SERVER['DOCUMENT_ROOT'] . '/inc/prerequisites.inc.php';
|
||||
if (!isset($_SESSION['mailcow_cc_role']) || $_SESSION['mailcow_cc_role'] != 'admin') {
|
||||
exit();
|
||||
|
Loading…
Reference in New Issue
Block a user