mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-01 13:38:37 +01:00
Merge branch 'hs/hash-identity' of github.com:matrix-org/matrix-doc into hs/hash-identity
This commit is contained in:
commit
87a54e8d8d
|
|
@ -161,7 +161,7 @@ M_INVALID_PARAM`. If the pepper does not match the server's, the server should
|
|||
return a new error code, `400 M_INVALID_PEPPER`. A new error code is not
|
||||
defined for an invalid algorithm as that is considered a client bug.
|
||||
|
||||
The `M_INVALID_PEPPER` error response contain the correct `algorithm` and
|
||||
The `M_INVALID_PEPPER` error response contains the correct `algorithm` and
|
||||
`lookup_pepper` fields. This is to prevent the client from needing to query
|
||||
`/hash_details` again, thus saving a request. `M_INVALID_PARAM` does not
|
||||
include these fields. An example response to an incorrect pepper would be:
|
||||
|
|
|
|||
Loading…
Reference in a new issue