Skip to content

Commit 43158a2

Browse files
authored
Merge pull request #349 from Authenticator-Extension/5.3.1-patches
5.3.1 patches
2 parents ec47727 + cfe37af commit 43158a2

File tree

4 files changed

+45
-24
lines changed

4 files changed

+45
-24
lines changed

manifest-chrome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "__MSG_extName__",
44
"short_name": "__MSG_extShortName__",
5-
"version": "5.3.1",
5+
"version": "5.3.2",
66
"default_locale": "en",
77
"description": "__MSG_extDesc__",
88
"icons": {

manifest-firefox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "__MSG_extName__",
44
"short_name": "__MSG_extShortName__",
5-
"version": "5.3.1",
5+
"version": "5.3.2",
66
"default_locale": "en",
77
"description": "__MSG_extDesc__",
88
"applications": {

package-lock.json

Lines changed: 39 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/models/otp.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ class OTPEntry implements OTP {
5757
return;
5858
}
5959
this.generate();
60-
this.counter++;
61-
await this.update(encryption);
60+
if (this.secret !== 'Encrypted') {
61+
this.counter++;
62+
await this.update(encryption);
63+
}
6264
return;
6365
}
6466

0 commit comments

Comments
 (0)