mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
refactor: change validate email add to validate email address
This commit is contained in:
@@ -17,5 +17,5 @@ class Member(Document):
|
||||
self.validate_email_type(self.email)
|
||||
|
||||
def validate_email_type(self, email):
|
||||
from frappe.utils import validate_email_add
|
||||
validate_email_add(email.strip(), True)
|
||||
from frappe.utils import validate_email_address
|
||||
validate_email_address(email.strip(), True)
|
||||
Reference in New Issue
Block a user