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 2db30f918e93052e6d800082934b57036dce93fd
parent 227779256c66872a46bbcf778cc5536827654113
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Sun, 25 Jul 2021 19:07:59 +0200

Merge branch 'BlackDex-fix-sync-desktop-client' into main

Diffstat:
Msrc/db/models/organization.rs | 2++
Msrc/db/models/user.rs | 5++++-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs @@ -290,6 +290,8 @@ impl UserOrganization { // For now they still have that code also in the web-vault, but they will remove it at some point. // https://github.com/bitwarden/server/tree/master/bitwarden_license/src/ "UseBusinessPortal": false, // Disable BusinessPortal Button + "ProviderId": null, + "ProviderName": null, // TODO: Add support for Custom User Roles // See: https://bitwarden.com/help/article/user-types-access-control/#custom-role diff --git a/src/db/models/user.rs b/src/db/models/user.rs @@ -210,7 +210,10 @@ impl User { "PrivateKey": self.private_key, "SecurityStamp": self.security_stamp, "Organizations": orgs_json, - "Object": "profile" + "Providers": [], + "ProviderOrganizations": [], + "ForcePasswordReset": false, + "Object": "profile", }) }