summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorBrendan Abolivier <contact@brendanabolivier.com>2019-03-06 11:40:10 +0000
committerGitHub <noreply@github.com>2019-03-06 11:40:10 +0000
commit20dd3403eed144277a5b6c3561794d5028198a0e (patch)
treec6ba85a1c6738ac7afe21ac5f5c82eb9991eccbd /synapse/handlers
parentMerge pull request #4772 from jbweston/jbweston/server-version-api (diff)
parentMake registration ratelimiter separate from the main events one (diff)
downloadsynapse-20dd3403eed144277a5b6c3561794d5028198a0e.tar.xz
Merge pull request #4804 from matrix-org/babolivier/ratelimit_registration_improvements
Improve ratelimit on registration
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/register.py2
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