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 013d4c28b2e06dc654b7f2a1f21b56b1c8a7838d
parent 63acc8619b7431122477091c6fcb08dadead219d
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Sat,  7 Nov 2020 23:01:56 +0100

Try to fix #1218

Diffstat:
Msrc/db/models/org_policy.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/db/models/org_policy.rs b/src/db/models/org_policy.rs @@ -129,7 +129,7 @@ impl OrgPolicy { pub fn find_by_user(user_uuid: &str, conn: &DbConn) -> Vec<Self> { db_run! { conn: { org_policies::table - .left_join( + .inner_join( users_organizations::table.on( users_organizations::org_uuid.eq(org_policies::org_uuid) .and(users_organizations::user_uuid.eq(user_uuid)))