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