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/rest | |
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/rest')
-rw-r--r-- | synapse/rest/client/v2_alpha/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/register.py b/synapse/rest/client/v2_alpha/register.py index b7f354570c..6f34029431 100644 --- a/synapse/rest/client/v2_alpha/register.py +++ b/synapse/rest/client/v2_alpha/register.py @@ -196,7 +196,7 @@ class RegisterRestServlet(RestServlet): self.identity_handler = hs.get_handlers().identity_handler self.room_member_handler = hs.get_room_member_handler() self.macaroon_gen = hs.get_macaroon_generator() - self.ratelimiter = hs.get_ratelimiter() + self.ratelimiter = hs.get_registration_ratelimiter() self.clock = hs.get_clock() @interactive_auth_handler |