Skip to content

Commit

Permalink
Merge pull request #1065 from itflow-org/revert-admin-check
Browse files Browse the repository at this point in the history
Temp revert new admin check to allow DB updates
  • Loading branch information
wrongecho authored Sep 20, 2024
2 parents 26e4dc5 + b6e4d6d commit 3c413ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions inc_all_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@

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

Expand Down

0 comments on commit 3c413ae

Please sign in to comment.