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 dd684753d06ee28bf126721f6b94519960da4397
parent f3e6cc6ffd85a62004020268c6e78bab785c7600
Author: Miroslav Prasil <miroslav@prasil.info>
Date:   Tue, 13 Nov 2018 21:38:56 +0000

Fix gt()

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

diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs @@ -86,7 +86,7 @@ impl PartialOrd<i32> for UserOrgType { fn gt(&self, other: &i32) -> bool { match self.partial_cmp(other) { - Some(Ordering::Less) => false, + Some(Ordering::Less) | Some(Ordering::Equal) => false, _ => true, } }