bitwarden_rs/src
Michael Powers 76743aee48
Fixes #635 - Unique constraint violation when using U2F tokens on PostgreSQL
Because of differences in how .on_conflict() works compared to .replace_into() the PostgreSQL backend wasn't correctly ensuring the unique constraint on user_uuid and atype wasn't getting violated.

This change simply issues a DELETE on the unique constraint prior to the insert to ensure uniqueness. PostgreSQL does not support multiple constraints in ON CONFLICT clauses.
2020-01-13 21:53:57 -05:00
..
api Protect websocket server against panics 2020-01-04 23:52:38 +01:00
db Fixes #635 - Unique constraint violation when using U2F tokens on PostgreSQL 2020-01-13 21:53:57 -05:00
static Logout button in admin page 2019-12-01 21:15:14 +01:00
auth.rs When receiving a comma separated list as IP, pick the first 2019-12-28 15:09:07 +01:00
config.rs Config option for client IP header 2019-12-27 18:42:39 +01:00
crypto.rs Formatting 2019-12-27 18:37:14 +01:00
error.rs Formatting 2019-12-27 18:37:14 +01:00
mail.rs Formatting 2019-12-27 18:37:14 +01:00
main.rs minor typo conect -> connect 2020-01-04 14:37:29 -08:00
util.rs Avoid some to_string in the request logging and include message to disable web vault when not found. 2019-12-29 15:34:22 +01:00