Update Response.php

This commit is contained in:
Chirag Aggarwal
2025-03-25 14:09:47 +05:30
committed by GitHub
parent e93010c5fe
commit 7fdde1a518
+1 -1
View File
@@ -675,7 +675,7 @@ class Response extends SwooleResponse
$isPrivilegedUser = Auth::isPrivilegedUser($roles);
$isAppUser = Auth::isAppUser($roles);
if ((!$isPrivilegedUser && !$isAppUser) || !$showSensitive) {
if ((!$isPrivilegedUser && !$isAppUser) && !$showSensitive) {
$data->setAttribute($key, '');
}
}