Fix duplicate ciphers returned from find_by_user

pull/14/head
Miroslav Prasil 7 years ago
parent 8bed867798
commit 89e544009f

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

Loading…
Cancel
Save