Merge pull request #7102 from scmmishra/hotfix
fix: Proxied `validate_email_add`
This commit is contained in:
commit
efa8263d2b
1 changed files with 6 additions and 0 deletions
|
|
@ -75,6 +75,12 @@ def extract_email_id(email):
|
|||
return email_id
|
||||
|
||||
def validate_email_add(email_str, throw=False):
|
||||
"""
|
||||
validate_email_add will be renamed to the validate_email_address in v12
|
||||
"""
|
||||
return validate_email_address(email_str, throw=False)
|
||||
|
||||
def validate_email_address(email_str, throw=False):
|
||||
"""Validates the email string"""
|
||||
email = email_str = (email_str or "").strip()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue