#10991 fixed acl in auth view

This commit is contained in:
Daniel Cebrian 2023-04-20 12:24:52 +02:00
parent 46549f7d24
commit e05a19dc7f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ global $config;
check_login();
if ((bool) check_acl($config['id_user'], 0, 'PM') === true && is_user_admin($config['id_user']) === false) {
if ((bool) check_acl($config['id_user'], 0, 'PM') === false && is_user_admin($config['id_user']) === false) {
db_pandora_audit(
AUDIT_LOG_ACL_VIOLATION,
'Trying to access Setup Management'