mirror of
https://github.com/bitwarden/web
synced 2026-01-06 10:33:17 +00:00
lint fixes
This commit is contained in:
@@ -351,7 +351,7 @@ angular
|
||||
var cipherString = iv + '|' + ct;
|
||||
|
||||
if (encValue.mac) {
|
||||
var mac = forge.util.encode64(encValue.mac)
|
||||
var mac = forge.util.encode64(encValue.mac);
|
||||
cipherString = cipherString + '|' + mac;
|
||||
}
|
||||
|
||||
@@ -362,7 +362,7 @@ angular
|
||||
return aesEncryptWC(plainValue, key).then(function (encValue) {
|
||||
var macLen = 0;
|
||||
if (encValue.mac) {
|
||||
macLen = encValue.mac.length
|
||||
macLen = encValue.mac.length;
|
||||
}
|
||||
|
||||
var encBytes = new Uint8Array(1 + encValue.iv.length + macLen + encValue.ct.length);
|
||||
|
||||
@@ -2504,7 +2504,7 @@
|
||||
if (item.attributes.hasOwnProperty(attr) && attr !== 'username_value' &&
|
||||
attr !== 'xdg:schema') {
|
||||
if (login.notes !== '') {
|
||||
login.notes += '\n'
|
||||
login.notes += '\n';
|
||||
}
|
||||
login.notes += (attr + ': ' + item.attributes[attr]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user