Skip to content
Snippets Groups Projects
Verified Commit 467f8cce authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Remove stray preference reference from form

parent 7fcaf124
No related branches found
No related tags found
1 merge request!846Resolve "AccountSignupForm accesses database on instantiation"
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment