Skip to content

Commit

Permalink
Fix Duplicate Email Addresses in Ledger Accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jason.moore@dbca.wa.gov.au authored and jason.moore@dbca.wa.gov.au committed Feb 5, 2020
1 parent a4ee89e commit 7173d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def save(self, *args, **kwargs):
self.title = user_details.get('title')
self.fax_number = user_details.get('org_unit__location__fax')
self.is_staff = True

self.email = self.email.lower()
super(EmailUser, self).save(*args, **kwargs)

def get_full_name(self):
Expand Down

0 comments on commit 7173d06

Please sign in to comment.