From 231120f7d1e58326193128c83b76112a1970b754 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Thu, 27 Aug 2026 15:50:33 +0200 Subject: [PATCH] Fix customer password reset rate limit --- src/pretix/presale/forms/customer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/presale/forms/customer.py b/src/pretix/presale/forms/customer.py index 107a7d91a9..f301a03801 100644 --- a/src/pretix/presale/forms/customer.py +++ b/src/pretix/presale/forms/customer.py @@ -334,7 +334,7 @@ class ResetPasswordForm(forms.Form): def clean_email(self): if 'email' not in self.cleaned_data: return - if rate_limit("customer_pwreset_check", max_num=10, expire_time=600): + if rate_limit("customer_pwreset_check", include_ip_from_request=self.request, max_num=10, expire_time=600): raise forms.ValidationError( self.error_messages['rate_limit'], code='rate_limit',