Don't set email addresses created for submitted drafts to active any more.
- Legacy-Id: 9167
This commit is contained in:
parent
f71e6166f3
commit
58810b327d
|
@ -254,7 +254,7 @@ def ensure_person_email_info_exists(name, email):
|
|||
except Email.DoesNotExist:
|
||||
# most likely we just need to create it
|
||||
email = Email(address=addr)
|
||||
email.active = False
|
||||
email.active = True
|
||||
|
||||
email.person = person
|
||||
email.save()
|
||||
|
|
Loading…
Reference in a new issue