Skip to content

Commit 00ccbc3

Browse files
authored
Merge pull request #75 from RoelVB/dev
Release 1.4.3
2 parents 40ff8af + 3df7a15 commit 00ccbc3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dist/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
"name": "ChromeKeePass",
55
"description": "Chrome extension for automatically entering credentials from KeePass/KeeWeb",
6-
"version": "1.4.2",
6+
"version": "1.4.3",
77

88
"commands": {
99
"redetect_fields": {

src/classes/KeePassHTTP.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,16 @@ export class KeePassHTTP
7575
/** Load association key */
7676
private _loadKey()
7777
{
78-
this._loadingKeyMutex.runExclusive(()=>{
79-
return new Promise<void>((resolve, reject)=>{
78+
this._loadingKeyMutex.runExclusive(async ()=>{
79+
await new Promise<void>((resolve, reject)=>{
8080
KeePassHTTP._id = localStorage.getItem('KeePassHttpId');
8181
KeePassHTTP._key = localStorage.getItem('KeePassHttpKey');
8282
if(KeePassHTTP._id && KeePassHTTP._key) // Found key using the old method?
8383
{
8484
this._saveKey();
8585
localStorage.removeItem('KeePassHttpId');
8686
localStorage.removeItem('KeePassHttpKey');
87+
resolve();
8788
}
8889
else
8990
{

0 commit comments

Comments
 (0)