mirror of
https://github.com/itflow-org/itflow
synced 2026-03-20 20:54:50 +00:00
Merge pull request #1065 from itflow-org/revert-admin-check
Temp revert new admin check to allow DB updates
This commit is contained in:
@@ -6,9 +6,10 @@ require_once "functions.php";
|
|||||||
|
|
||||||
require_once "check_login.php";
|
require_once "check_login.php";
|
||||||
|
|
||||||
if (!isset($session_is_admin) || !$session_is_admin) {
|
validateAdminRole();
|
||||||
exit(WORDING_ROLECHECK_FAILED . "<br>Tell your admin: Your role does not have admin access.");
|
//if (!isset($session_is_admin) || !$session_is_admin) {
|
||||||
}
|
// exit(WORDING_ROLECHECK_FAILED . "<br>Tell your admin: Your role does not have admin access.");
|
||||||
|
//}
|
||||||
|
|
||||||
require_once "header.php";
|
require_once "header.php";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user