Skip to content

Commit

Permalink
Update FaceTec match level (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycdot authored Nov 1, 2022
1 parent 5a8e8f8 commit fd901c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/robonode-server/src/logic/op_authenticate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit fd901c6

Please sign in to comment.