Skip to content

Commit 3038396

Browse files
committed
Fix the update password request form to *not* give an error for existing accounts ,:-)
- Legacy-Id: 4742
1 parent 469bfa1 commit 3038396

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ietf/ietfauth/forms.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ def send_email(self):
7272
}
7373
send_mail(self.request, to_email, from_email, subject, 'registration/password_reset_email.txt', context)
7474

75+
def clean_email(self):
76+
email = self.cleaned_data.get('email', '')
77+
return email
78+
7579

7680
class PasswordForm(forms.Form):
7781

0 commit comments

Comments
 (0)