1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Merge pull request #1854 from flarum/fl/1641-fix-status-codes

Error handling: Fix status codes
This commit is contained in:
Franz Liedke
2019-09-02 16:33:48 +02:00
committed by GitHub
10 changed files with 71 additions and 32 deletions

View File

@@ -31,6 +31,7 @@ class ErrorServiceProvider extends AbstractServiceProvider
// 401 Unauthorized
'invalid_access_token' => 401,
'not_authenticated' => 401,
// 403 Forbidden
'invalid_confirmation_token' => 403,