0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-06-26 07:48:20 +02:00

Fix duplicate ciphers returned from find_by_user

This commit is contained in:
Miroslav Prasil 2018-05-13 13:20:00 +01:00
parent 8bed867798
commit 89e544009f

View file

@ -243,6 +243,7 @@ impl Cipher {
)
))
.select(ciphers::all_columns)
.distinct()
.load::<Self>(&**conn).expect("Error loading ciphers")
}