mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-06 20:45:54 -05:00

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.