mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update Response.php
This commit is contained in:
@@ -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, '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user