forked from CGM_Public/pretix_original
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:
committed by
GitHub
parent
ed1459b1dd
commit
8bd0665f37
@@ -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'),
|
||||||
|
|||||||
Reference in New Issue
Block a user