www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 57fe6361d1f28b25f7a5b1581f9fb6a749154586
parent f681730e75792b10cac7a90b7b28ef1419866b4d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu,  4 Jun 2009 00:58:50 +0000

Remove valid username check from client


Diffstat:
Mchrome/content/zotero/xpcom/sync.js | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -846,9 +846,6 @@ Zotero.Sync.Server = new function () { if (!username) { _error("Username not set in Zotero.Sync.Server.login()"); } - else if (!username.match(/^[\w\d\. \-\_]+$/)) { - _error("Invalid username '" + username + "' in Zotero.Sync.Server.login()"); - } username = encodeURIComponent(Zotero.Sync.Server.username); var password = encodeURIComponent(Zotero.Sync.Server.password);