diff options
author | Quentin Gliech <quenting@element.io> | 2025-02-18 15:47:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-18 14:47:35 +0000 |
commit | f7bc63ef5787f20b63586bc7d8665cd2ce76c268 (patch) | |
tree | c4be71e37a6a10f552dd5eedfc114b1841a3a9d9 /docs/usage/configuration/config_documentation.md | |
parent | Cleanup deleted state group references (#18165) (diff) | |
download | synapse-f7bc63ef5787f20b63586bc7d8665cd2ce76c268.tar.xz |
Make sure we advertise registration as disabled when MSC3861 is enabled (#17661)
This has been a problem with Element Web, as it will proble /register with an empty body, which gave this error: ``` curl -d '{}' -HContent-Type:application/json /_matrix/client/v3/register {"errcode": "M_UNKNOWN", "error": "Invalid username"} ``` And Element Web would choke on it. This changes that so we reply instead: ``` {"errcode": "M_FORBIDDEN", "error": "Registration has been disabled. Only m.login.application_service registrations are allowed."} ``` Also adds a test for this. See https://github.com/element-hq/element-web/issues/27993 --------- Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
Diffstat (limited to 'docs/usage/configuration/config_documentation.md')
0 files changed, 0 insertions, 0 deletions