mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
simplify check
This commit is contained in:
@@ -702,7 +702,7 @@ App::shutdown()
|
||||
|
||||
|
||||
if ($project->getId() !== 'console') {
|
||||
if (!(Auth::isPrivilegedUser(Authorization::getRoles()) && !$user->isEmpty())) {
|
||||
if (!Auth::isPrivilegedUser(Authorization::getRoles())) {
|
||||
$fileSize = 0;
|
||||
$file = $request->getFiles('file');
|
||||
if (!empty($file)) {
|
||||
|
||||
Reference in New Issue
Block a user