1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 19:02:42 +01:00

fix bug from site rename

This commit is contained in:
Kyle Spearrin 2017-01-04 22:32:47 -05:00
parent fff0efb095
commit 9f7ed11082

View File

@ -7,12 +7,12 @@ angular
_service.decryptLogins = function (encryptedLogins) {
if (!encryptedLogins) throw "encryptedLogins is undefined or null";
var encryptedLogins = [];
var unencryptedLogins = [];
for (var i = 0; i < encryptedLogins.length; i++) {
encryptedLogins.push(_service.decryptLogin(encryptedLogins[i]));
unencryptedLogins.push(_service.decryptLogin(encryptedLogins[i]));
}
return encryptedLogins;
return unencryptedLogins;
};
_service.decryptLogin = function (encryptedLogin) {