1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

resolve lint errors

This commit is contained in:
Kyle Spearrin
2017-03-21 23:07:38 -04:00
parent 715b91ab96
commit dde20f4451
4 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ angular
try {
var privateKeyBytes = _service.decrypt(privateKeyCt, key, 'raw');
$sessionStorage.privateKey = forge.util.encode64(privateKeyBytes);
_privateKey = forge.pki.privateKeyFromAsn1(forge.asn1.fromDer(privateKeyBytes));;
_privateKey = forge.pki.privateKeyFromAsn1(forge.asn1.fromDer(privateKeyBytes));
}
catch (e) {
console.log('Cannot set private key. Decryption failed.');
@@ -171,7 +171,7 @@ angular
}
return orgKeys[orgId];
}
};
_service.clearKey = function () {
_key = _b64Key = null;