allow + in email addresses

This commit is contained in:
Michael Hudson-Doyle 2016-10-27 09:24:21 +13:00
parent 651aba7266
commit ef0da85568
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class EmailEditor(StringEditor):
def keypress(self, size, key):
''' restrict what chars we allow for username '''
realname = r'[-a-zA-Z0-9_.@]'
realname = r'[-a-zA-Z0-9_.@+]'
if re.match(realname, key) is None:
return False