Commit e1d0ddd9 authored by Patrick's avatar Patrick

Force customer email invalidation when updating a customer record

parent 60117ea8
......@@ -319,6 +319,7 @@ def customer_pre_save(sender, **kwargs):
customer.price_list_multiplier = DECIMAL_ONE
customer.city = ("%s" % customer.city).upper()
customer.login_attempt_counter = DECIMAL_ZERO
customer.valid_email = None
@receiver(post_delete, sender=Customer)
......
Markdown is supported
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