mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-07 05:44:58 +02:00
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user