mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-24 16:49:26 +01:00
fix bug from site rename
This commit is contained in:
parent
fff0efb095
commit
9f7ed11082
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user