mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-03 04:53:42 +01:00
Update proposals/2134-identity-hash-lookup.md
Co-Authored-By: David Baker <dbkr@users.noreply.github.com>
This commit is contained in:
parent
8f3e588708
commit
20c72a3649
|
|
@ -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