Skip to content

Commit

Permalink
Fix limited email comprehensibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoruio committed Oct 21, 2023
1 parent fab423b commit b994350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bot/helper/plexhelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ def plexremoveinvite(plex, plexname):
return False
'''
def verifyemail(addressToVerify):
regex = '^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$'
regex = "(^[a-zA-Z0-9'_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)"
match = re.match(regex, addressToVerify.lower())
return match != None

0 comments on commit b994350

Please sign in to comment.