mirror of
https://github.com/flarum/framework.git
synced 2025-03-13 05:45:21 +08:00

HTTP 401 should be used when logging in (i.e. authenticating) would make a difference; HTTP 403 is reserved for requests that fail because the already authenticated user is not authorized (i.e. lacking permissions) to do something.