Update permission_exists for multiple permissions

This commit is contained in:
markjcrane
2025-11-06 08:20:46 -07:00
parent de74db14ee
commit 7286d4b58d
70 changed files with 70 additions and 70 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
require_once "resources/check_auth.php";
//check permissions
if (!permission_exists("registration_domain") || !permission_exists("registration_all")) {
if (!(permission_exists('registration_domain') || permission_exists('registration_all'))) {
echo "access denied";
exit;
}