fix bug from site rename

This commit is contained in:
Kyle Spearrin 2017-01-04 22:32:47 -05:00
parent fff0efb095
commit 9f7ed11082
1 changed files with 3 additions and 3 deletions

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) {