forked-synapse/synapse/rest
Andrew Morgan 1b519e0272 Disable /register/available if registration is disabled (#6082)
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.
2019-09-23 15:38:38 +01:00
..
admin Ensure the list media admin API is always available (#5966) 2019-09-03 13:35:20 -06:00
client Disable /register/available if registration is disabled (#6082) 2019-09-23 15:38:38 +01:00
consent fix async/await consentresource (#5585) 2019-07-01 23:33:52 +10:00
key Fixup review comments 2019-08-23 15:36:28 +01:00
media Remove double return statements (#5962) 2019-09-03 11:42:45 +01:00
saml2 Merge branch 'develop' into rav/saml2_client 2019-07-01 14:21:03 +01:00
__init__.py Allow Synapse to send registration emails + choose Synapse or an external server to handle 3pid validation (#5987) 2019-09-06 11:35:28 +01:00
well_known.py public_base_url is actually public_baseurl 2019-08-26 21:01:56 -05:00