[Web] Fix container ctrl session

master
andryyy 2020-11-27 21:20:46 +01:00
parent 418f443ee5
commit 752efa2188
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 0 additions and 1 deletions

View File

@ -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();