Skip to content
Snippets Groups Projects
Commit 452c17e6 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '586-accountsignupform-accesses-database-on-instantiation' into 'master'

Resolve "AccountSignupForm accesses database on instantiation"

Closes #586

See merge request !846
parents 7fcaf124 317e6f72
No related branches found
No related tags found
1 merge request!846Resolve "AccountSignupForm accesses database on instantiation"
Pipeline #47149 failed
......@@ -9,6 +9,12 @@ and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
~~~~~
* Remove left-over reference to preferences in a form definition that caused
form extensions in downstream apps to break
`2.4`_ – 2021-12-24
-------------------
......
......@@ -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