MatrixSynapse/synapse/rest/client/v2_alpha
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
..
__init__.py
_base.py
account.py
account_data.py
account_validity.py
auth.py
capabilities.py
devices.py
filter.py
groups.py
keys.py
notifications.py
openid.py
read_marker.py
receipts.py
register.py Disable /register/available if registration is disabled (#6082) 2019-09-23 15:38:38 +01:00
relations.py
report_event.py
room_keys.py
room_upgrade_rest_servlet.py
sendtodevice.py
sync.py
tags.py
thirdparty.py
tokenrefresh.py
user_directory.py