mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-19 10:38:24 +00:00
Also list shared ciphers in find_by_user
This commit is contained in:
parent
fcef2fa1f1
commit
8bed867798
2 changed files with 27 additions and 3 deletions
|
@ -503,7 +503,7 @@ fn delete_all(data: Json<PasswordData>, headers: Headers, conn: DbConn) -> Empty
|
|||
}
|
||||
|
||||
// Delete ciphers and their attachments
|
||||
for cipher in Cipher::find_by_user(&user.uuid, &conn) {
|
||||
for cipher in Cipher::find_owned_by_user(&user.uuid, &conn) {
|
||||
_delete_cipher(cipher, &conn);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue