Allow periods in sync usernames
This commit is contained in:
parent
2117745a63
commit
79cedb822c
1 changed files with 1 additions and 1 deletions
|
@ -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()");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue