mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-27 05:51:56 +00:00
fix: update code calling hash verify
This commit is contained in:
parent
0636a92b01
commit
0a7b0c9028
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
.expect("Invalid password");
|
||||||
|
|
||||||
if !valid {
|
if !valid {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue