Invalid attempts at new users are already sent an email
One-sentence description
Invalid attempts at new users are already sent an email when one attempts to add them using the admin forms.
Current behaviour
Adding a user that triggers validation errors also triggers outgoing emails. This means that emails to one new user can be sent multiple times. Perhaps other things also happen.
Expected behaviour
Nothing should change when the form is considered invalid.
Steps to reproduce
- Create a new user
- Mess up one input field (when testing, I forgot to add a number in the first address line)
- Observe an outgoing email (e.g. when running in development mode, as output of
manage.py
)