From 85ee92302fadd1059c4dca74bc474fa4195a0ed4 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 7 Oct 2021 16:37:42 +0200 Subject: [PATCH] issue #1344 revert 917c733 no longer necessary (see 8effbe8) --- include/ws_functions.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index de4acc6ea..d2b5537ed 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -20,8 +20,7 @@ function ws_isInvokeAllowed($res, $methodName, $params) } if ( !is_autorize_status(ACCESS_GUEST) and - strpos($methodName,'pwg.session.')!==0 and - 'pwg.images.uploadAsync'!=$methodName ) + strpos($methodName,'pwg.session.')!==0 ) { return new PwgError(401, 'Access denied'); }