mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Fix Zotero.Users.setCurrentUsername()
This commit is contained in:
parent
a22c4969e6
commit
6935310c75
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ Zotero.Users = new function () {
|
|||
|
||||
this.getCurrentUsername = () => _username;
|
||||
this.setCurrentUsername = function (val) {
|
||||
_userID = val;
|
||||
_username = val;
|
||||
var sql = "REPLACE INTO settings VALUES ('account', 'username', ?)";
|
||||
return Zotero.DB.queryAsync(sql, val);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue