MatrixSynapse/synapse/rest/client
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
..
v1
v2_alpha Disable /register/available if registration is disabled (#6082) 2019-09-23 15:38:38 +01:00
__init__.py
transactions.py
versions.py