diff --git a/src/profiles/forms.py b/src/profiles/forms.py index 3ff8d7f..98290e1 100644 --- a/src/profiles/forms.py +++ b/src/profiles/forms.py @@ -8,8 +8,9 @@ class RegisterForm(forms.ModelForm): """A form for creating new users. Includes all the required fields, plus a repeated password.""" - password1 = forms.CharField(label='Password', widget=forms.PasswordInput) - password2 = forms.CharField(label='Password confirmation', widget=forms.PasswordInput) + email = forms.EmailField(label='Email address') + password1 = forms.CharField(label='Password', widget=forms.PasswordInput) + password2 = forms.CharField(label='Password confirmation', widget=forms.PasswordInput) class Meta: model = User