Fix a bug : shadow logins passwords were not deleted
This commit is contained in:
parent
a180cb62d7
commit
65f8f0f21e
|
@ -380,7 +380,11 @@ async function get_ciphered_credentials(masterkey)
|
||||||
if (passwords[i].ciphered_login.length)
|
if (passwords[i].ciphered_login.length)
|
||||||
{
|
{
|
||||||
if (!passwords[i].access_token.length)
|
if (!passwords[i].access_token.length)
|
||||||
|
{
|
||||||
|
res = await passwords[i].decrypt(masterkey);
|
||||||
|
if(res)
|
||||||
old_passwords.push(passwords[i]);
|
old_passwords.push(passwords[i]);
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user