Use M_CONSENT_NOT_GIVEN

No idea where I got the other one from: we already have one in the
spec, so use it.
This commit is contained in:
David Baker 2019-06-25 17:17:39 +01:00
parent 0dae2d5812
commit 9e0d8b9cb2

View file

@ -190,7 +190,7 @@ may return:
* `M_UNAUTHORIZED` errcode with HTTP status code 401. This indicates that
the user must authenticate with OpenID and supply a valid `access_token`.
* `M_TERMS_NOT_SIGNED` errcode. This indicates that the user must agree to
* `M_CONSENT_NOT_GIVEN` errcode. This indicates that the user must agree to
(new) terms in order to use or continue to use the service.
The `_matrix/identity/v2/3pid/unbind` must not return either of these