Merge pull request #1065 from itflow-org/revert-admin-check

Temp revert new admin check to allow DB updates
This commit is contained in:
wrongecho 2024-09-20 21:42:03 +01:00 committed by GitHub
commit 3c413ae0be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -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";