mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 20:21:37 +00:00
Prevent users from viewing arbitrary cache keys
This commit is contained in:
parent
bf344663aa
commit
d66bd0a943
@ -1,5 +1,5 @@
|
|||||||
<?
|
<?
|
||||||
if(!check_perms('admin_clear_cache')) {
|
if(!check_perms('users_mod') || !check_perms('admin_clear_cache')) {
|
||||||
error(403);
|
error(403);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user