Skip to content

Commit

Permalink
Soundkey Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yoprogramo committed Jul 28, 2021
1 parent e28c2da commit cc4590c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/nomorepass.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ exports.getQrNomoreKeys = function (site, user, pass, type, extra, callback) {
if (typeof extra == 'object') {
if ('extra' in extra) {
if (typeof extra['extra']=='object' && 'secret' in extra['extra']) {
extra['extra']['secret']=CryptoJS.AES.encrypt(extra['extra']['secret'],tk);
extra['extra']['secret']=""+CryptoJS.AES.encrypt(extra['extra']['secret'],tk);
extra['extra']['type'] = type.toLowerCase();
} else {
extra['extra'] = {'type':type.toLowerCase()};
Expand Down
2 changes: 1 addition & 1 deletion www/js/nomorepass.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ var NomorePass = {
if (typeof extra == 'object') {
if ('extra' in extra) {
if (typeof extra['extra']=='object' && 'secret' in extra['extra']) {
extra['extra']['secret']=CryptoJS.AES.encrypt(extra['extra']['secret'],tk);
extra['extra']['secret']=""+CryptoJS.AES.encrypt(extra['extra']['secret'],tk);
extra['extra']['type'] = type.toLowerCase();
} else {
extra['extra'] = {'type':type.toLowerCase()};
Expand Down

0 comments on commit cc4590c

Please sign in to comment.