From 023f9104ef17045dde7844a3d965a47dbf9b86da Mon Sep 17 00:00:00 2001 From: luelista Date: Mon, 31 Aug 2026 16:48:48 +0200 Subject: [PATCH] Fix customer password reset rate limit (#6501) --- 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 107a7d91a..f301a0380 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',