From 79cedb822c8ff64bf3a4c0ee740527b0b3bc286e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 5 Nov 2008 17:28:28 +0000 Subject: [PATCH] Allow periods in sync usernames --- chrome/content/zotero/xpcom/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()"); }