Allow periods in sync usernames

This commit is contained in:
Dan Stillman 2008-11-05 17:28:28 +00:00
parent 2117745a63
commit 79cedb822c

View file

@ -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()");
}