mirror of
https://github.com/flarum/core.git
synced 2025-08-01 06:00:24 +02:00
Remove superfluous ForbiddenException
It has the same effect as the PermissionDeniedException, so let's just use that. Refs #1641.
This commit is contained in:
@@ -33,7 +33,6 @@ class ErrorServiceProvider extends AbstractServiceProvider
|
||||
'invalid_access_token' => 401,
|
||||
|
||||
// 403 Forbidden
|
||||
'forbidden' => 403,
|
||||
'invalid_confirmation_token' => 403,
|
||||
'permission_denied' => 403,
|
||||
|
||||
|
Reference in New Issue
Block a user