mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-01 09:14:10 +01:00
Use the right error code for 401 errors
This commit is contained in:
parent
fad9974383
commit
91f862d9e8
|
|
@ -194,7 +194,7 @@ the access token being leaked in access/HTTP logs. The query string should only
|
|||
in cases where the ``Authorization`` header is inaccessible for the client.
|
||||
|
||||
When credentials are required but missing or invalid, the HTTP call will return with a
|
||||
status of 401 and the error code ``M_MISSING_TOKEN`` or ``M_UNKNOWN_TOKEN`` respectively.
|
||||
status of 401 and the error code ``M_UNAUTHORIZED``.
|
||||
|
||||
{{v2_auth_is_http_api}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue