vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 6e6e34ff18b349a0cde76811bb48c962f37f2837
parent af625930d65f9829eeccebc598403837303da144
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Sat, 11 Jul 2020 11:17:45 +0200

Merge pull request #1055 from jjlin/pg

Fix error in PostgreSQL build
Diffstat:
Msrc/db/models/collection.rs | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/db/models/collection.rs b/src/db/models/collection.rs @@ -227,8 +227,10 @@ impl CollectionUser { )) .on_conflict((users_collections::user_uuid, users_collections::collection_uuid)) .do_update() - .set(users_collections::read_only.eq(read_only)) - .set(users_collections::hide_passwords.eq(hide_passwords)) + .set(( + users_collections::read_only.eq(read_only), + users_collections::hide_passwords.eq(hide_passwords), + )) .execute(&**conn) .map_res("Error adding user to collection") }