gengx
This commit is contained in:
@@ -51,7 +51,7 @@ class PermissionService
|
||||
|
||||
public static function canUpload(array $user, string $type): bool
|
||||
{
|
||||
if (!empty($user['is_guest']) && $type === 'image') {
|
||||
if (!empty($user['is_guest'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user