Ignore failed passwords

This commit is contained in:
brantje 2016-12-19 23:58:24 +01:00
parent 89cc87ba70
commit 0bd169cbf5
No known key found for this signature in database
GPG key ID: 5FF1D117F918687F

View file

@ -155,6 +155,7 @@
for (var i = 0; i < vault.credentials.length; i++) {
var c = angular.copy(vault.credentials[i]);
if (c.password && c.hidden === 0) {
try {
c = CredentialService.decryptCredential(c);
if (c.password) {
var zxcvbn_result = zxcvbn(c.password);
@ -167,6 +168,9 @@
});
}
}
} catch (e){
console.warn(e);
}
}
//@todo loop custom fields (if any and check secret fields