Skip to content

Commit ad18c14

Browse files
committed
No reason to block inactive users from the manifest
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 24d7007 commit ad18c14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller/manifest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(config $config, language $language, path_helper $pat
5555
*/
5656
public function handle(): JsonResponse
5757
{
58-
if ($this->user->data['is_bot'] || $this->user->data['user_type'] == USER_INACTIVE)
58+
if ($this->user->data['is_bot'])
5959
{
6060
throw new http_exception(Response::HTTP_FORBIDDEN, 'NO_AUTH_OPERATION');
6161
}

0 commit comments

Comments
 (0)