synapse-product/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 copyrights 2016-01-07 04:26:29 +00:00
_base.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
account_data.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
account_validity.py Lint 2019-08-01 12:19:08 +02:00
account.py Allow HS to send emails when adding an email to the HS (#6042) 2019-09-20 15:21:30 +01:00
auth.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
capabilities.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
devices.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
filter.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
groups.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
keys.py Opentrace device lists (#5853) 2019-09-03 10:21:30 +01:00
notifications.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
openid.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
read_marker.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
receipts.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
register.py Disable /register/available if registration is disabled (#6082) 2019-09-23 15:38:38 +01:00
relations.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
report_event.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
room_keys.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
room_upgrade_rest_servlet.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
sendtodevice.py Opentrace device lists (#5853) 2019-09-03 10:21:30 +01:00
sync.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
tags.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
thirdparty.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
tokenrefresh.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
user_directory.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00