1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-14 02:08:50 +02: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) {