mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 18:55:57 +03:00
Also list shared ciphers in find_by_user
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user