From fd901c62daa7661173592973039433df9a9e961f Mon Sep 17 00:00:00 2001 From: tonycdot <69084044+tonycdot@users.noreply.github.com> Date: Tue, 1 Nov 2022 15:33:07 +0400 Subject: [PATCH] Update FaceTec match level (#500) --- crates/robonode-server/src/logic/op_authenticate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/robonode-server/src/logic/op_authenticate.rs b/crates/robonode-server/src/logic/op_authenticate.rs index 0fa824e53..a919aeed8 100644 --- a/crates/robonode-server/src/logic/op_authenticate.rs +++ b/crates/robonode-server/src/logic/op_authenticate.rs @@ -157,7 +157,7 @@ where // If the results set is empty - this means that this person was not // found in the system. let found = results.first().ok_or(Error::PersonNotFound)?; - if found.match_level != MATCH_LEVEL { + if found.match_level < MATCH_LEVEL { return Err(Error::InternalErrorDbSearchMatchLevelMismatch); }