diff --git a/server/resources/gpass.js b/server/resources/gpass.js index e8911d7..8415ea9 100755 --- a/server/resources/gpass.js +++ b/server/resources/gpass.js @@ -380,7 +380,11 @@ async function get_ciphered_credentials(masterkey) if (passwords[i].ciphered_login.length) { if (!passwords[i].access_token.length) - old_passwords.push(passwords[i]); + { + res = await passwords[i].decrypt(masterkey); + if(res) + old_passwords.push(passwords[i]); + } continue; }