From af30538a652b551bc7c596ec0fe91567138c9f35 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 26 Apr 2022 20:07:54 -0700 Subject: [PATCH] forms: Fix type of domain_override parameter. Signed-off-by: Anders Kaseorg --- zerver/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/forms.py b/zerver/forms.py index 30b5fe5980..65eb4e9698 100644 --- a/zerver/forms.py +++ b/zerver/forms.py @@ -288,7 +288,7 @@ def generate_password_reset_url( class ZulipPasswordResetForm(PasswordResetForm): def save( self, - domain_override: Optional[bool] = None, + domain_override: Optional[str] = None, subject_template_name: str = "registration/password_reset_subject.txt", email_template_name: str = "registration/password_reset_email.html", use_https: bool = False,