diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-09-23 16:38:38 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-09-23 15:38:38 +0100 |
commit | 1b519e0272a13649d442aad2a10c9a3b39c2d200 (patch) | |
tree | 7b3c3d5ef227e01fe67de92c0ca466747acba7c8 /synapse/storage/client_ips.py | |
parent | Generalize email sending logging (#6075) (diff) | |
download | synapse-1b519e0272a13649d442aad2a10c9a3b39c2d200.tar.xz |
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.
Diffstat (limited to 'synapse/storage/client_ips.py')
0 files changed, 0 insertions, 0 deletions