mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 20:50:23 +03:00
1b519e0272
Fixes #6066 This register endpoint should be disabled if registration is disabled, otherwise we're giving anyone the ability to check if a username exists on a server when we don't need to be. Error code is 403 (Forbidden) as that's the same returned by /register when registration is disabled.
1 line
No EOL
70 B
Gherkin
1 line
No EOL
70 B
Gherkin
Return 403 on `/register/available` if registration has been disabled. |