diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index de47a4c639..397e85bf59 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -636,7 +636,7 @@ Zotero.Sync.Server = new function () { if (!username) { _error("Username not set in Zotero.Sync.Server.login()"); } - else if (!username.match(/^[\w\d ]+$/)) { + else if (!username.match(/^[\w\d\. ]+$/)) { _error("Invalid username '" + username + "' in Zotero.Sync.Server.login()"); }