Clarify that servers may choose not to use `M_USER_DEACTIVATED` when they don't know who is asking. (#2246)

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
pull/2222/merge
reivilibre 1 week ago committed by GitHub
parent f7a0d8d135
commit b1fd2af72c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Clarify that servers may choose not to use `M_USER_DEACTIVATED` at login time, for example for privacy reasons when they can't authenticate deactivated users.

@ -262,6 +262,8 @@ paths:
or the requested device ID is the same as a cross-signing key or the requested device ID is the same as a cross-signing key
ID. ID.
* `M_USER_DEACTIVATED`: The user has been deactivated. * `M_USER_DEACTIVATED`: The user has been deactivated.
Servers MAY instead use `M_FORBIDDEN` when they can no longer authenticate
the deactivated user (e.g. their password has been wiped).
content: content:
application/json: application/json:
schema: schema:

Loading…
Cancel
Save