Fix password-manager username not saved on customer account creation (#6043)

* Fix password-manager username not saved on customer account creation

* Fix tests/make email not required
This commit is contained in:
Richard Schreiber
2026-04-01 12:00:03 +02:00
committed by GitHub
parent ed1459b1dd
commit 8bd0665f37

View File

@@ -296,7 +296,8 @@ class SetPasswordForm(forms.Form):
} }
email = forms.EmailField( email = forms.EmailField(
label=_('Email'), label=_('Email'),
disabled=True widget=forms.EmailInput(attrs={'autocomplete': 'username', 'readonly': 'readonly'}),
required=False,
) )
password = forms.CharField( password = forms.CharField(
label=_('Password'), label=_('Password'),