mirror of https://github.com/itflow-org/itflow
Temp revert new admin check to allow DB updates
This commit is contained in:
parent
26e4dc5fb3
commit
b6e4d6dd34
|
|
@ -6,9 +6,10 @@ require_once "functions.php";
|
|||
|
||||
require_once "check_login.php";
|
||||
|
||||
if (!isset($session_is_admin) || !$session_is_admin) {
|
||||
exit(WORDING_ROLECHECK_FAILED . "<br>Tell your admin: Your role does not have admin access.");
|
||||
}
|
||||
validateAdminRole();
|
||||
//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";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue