Skip to content

Commit

Permalink
Merge pull request #349 from Authenticator-Extension/5.3.1-patches
Browse files Browse the repository at this point in the history
5.3.1 patches
  • Loading branch information
mymindstorm authored Jul 4, 2019
2 parents ec47727 + cfe37af commit 43158a2
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 24 deletions.
2 changes: 1 addition & 1 deletion manifest-chrome.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "5.3.1",
"version": "5.3.2",
"default_locale": "en",
"description": "__MSG_extDesc__",
"icons": {
Expand Down
2 changes: 1 addition & 1 deletion manifest-firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extName__",
"short_name": "__MSG_extShortName__",
"version": "5.3.1",
"version": "5.3.2",
"default_locale": "en",
"description": "__MSG_extDesc__",
"applications": {
Expand Down
59 changes: 39 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/models/otp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ class OTPEntry implements OTP {
return;
}
this.generate();
this.counter++;
await this.update(encryption);
if (this.secret !== 'Encrypted') {
this.counter++;
await this.update(encryption);
}
return;
}

Expand Down

0 comments on commit 43158a2

Please sign in to comment.