Skip to content
Snippets Groups Projects

Resolve "AccountSignupForm accesses database on instantiation"

2 files
+ 6
2
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 0
2
@@ -582,8 +582,6 @@ class AccountRegisterForm(SignupForm, ExtensibleForm):
password1 = forms.CharField(label=_("Password"), widget=forms.PasswordInput)
privacy_policy = get_site_preferences()["footer__privacy_url"]
if settings.SIGNUP_PASSWORD_ENTER_TWICE:
password2 = forms.CharField(label=_("Password (again)"), widget=forms.PasswordInput)
Loading