Verified Commit d54655cd authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Make sure the send_welcome_email field is not required

parent 0ffc7234
......@@ -34,6 +34,7 @@ class UserCreationForm(forms.ModelForm):
send_welcome_email = forms.BooleanField(
label=_('Send welcome email'),
help_text=_('This email will include the generated password'),
required=False,
initial=True)
def save(self, commit=True):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment