diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-03-06 11:02:42 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-03-06 11:02:42 +0000 |
commit | 6f3cde8b2500aafad2438de7eddfc442ec5288c7 (patch) | |
tree | c6ba85a1c6738ac7afe21ac5f5c82eb9991eccbd /synapse/handlers | |
parent | Revert "Split ratelimiters in two (one for events, one for registration)" (diff) | |
download | synapse-6f3cde8b2500aafad2438de7eddfc442ec5288c7.tar.xz |
Make registration ratelimiter separate from the main events one
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 47d5e276f8..03130edc54 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -61,7 +61,7 @@ class RegistrationHandler(BaseHandler): self.user_directory_handler = hs.get_user_directory_handler() self.captcha_client = CaptchaServerHttpClient(hs) self.identity_handler = self.hs.get_handlers().identity_handler - self.ratelimiter = hs.get_ratelimiter() + self.ratelimiter = hs.get_registration_ratelimiter() self._next_generated_user_id = None |