fix: update code calling hash verify

This commit is contained in:
EETagent 2022-10-28 11:08:53 +02:00
parent 0636a92b01
commit 0a7b0c9028

View file

@ -17,7 +17,7 @@ impl CandidateService {
};
let valid = crypto::verify_password(&password,&candidate.code )
let valid = crypto::verify_password(password,candidate.code.clone()).await
.expect("Invalid password");
if !valid {