commit 79cedb822c8ff64bf3a4c0ee740527b0b3bc286e
parent 2117745a63e40513c046a832274fcedb40c4de63
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 5 Nov 2008 17:28:28 +0000
Allow periods in sync usernames
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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()");
}