0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-16 08:13:52 +01:00
Commit graph

1 commit

Author SHA1 Message Date
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