mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 20:42:15 +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");
|
||||
|
||||
if !valid {
|
||||
|
|
|
|||
Loading…
Reference in a new issue