1
0
mirror of https://github.com/janeczku/calibre-web synced 2026-06-05 12:12:16 +00:00

allow @ in auto username detection

Signed-off-by: Aisha Tammy <aisha@bsd.ac>
This commit is contained in:
Aisha Tammy
2022-05-25 12:14:09 -04:00
parent 790080f2a0
commit a3cd217cea
+1 -1
View File
@@ -1994,7 +1994,7 @@ def _handle_edit_user(to_save, content, languages, translations, kobo_support):
def extract_user_data_from_field(user, field):
match = re.search(field + r"=([\.\d\s\w-]+)", user, re.IGNORECASE | re.UNICODE)
match = re.search(field + r"=([@\.\d\s\w-]+)", user, re.IGNORECASE | re.UNICODE)
if match:
return match.group(1)
else: