Remove valid username check from client
This commit is contained in:
parent
f681730e75
commit
57fe6361d1
1 changed files with 0 additions and 3 deletions
|
@ -846,9 +846,6 @@ Zotero.Sync.Server = new function () {
|
||||||
if (!username) {
|
if (!username) {
|
||||||
_error("Username not set in Zotero.Sync.Server.login()");
|
_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);
|
username = encodeURIComponent(Zotero.Sync.Server.username);
|
||||||
var password = encodeURIComponent(Zotero.Sync.Server.password);
|
var password = encodeURIComponent(Zotero.Sync.Server.password);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue