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 fc0e239bdf7ae4aeed5df9273532c0985457d491
parent 928ad6c1d82d6f2c9c81b87898e28ae60146ca8e
Author: Stephen White <swhite@corefiling.com>
Date:   Fri, 25 Jan 2019 14:25:15 +0000

No point calling find_by_uuid now we don't use the result.

Diffstat:
Msrc/db/models/organization.rs | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs @@ -293,8 +293,6 @@ impl UserOrganization { } pub fn to_json_collection_user_details(&self, read_only: bool, conn: &DbConn) -> Value { - let user = User::find_by_uuid(&self.user_uuid, conn).unwrap(); - json!({ "Id": self.uuid, "ReadOnly": read_only