mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
fix: add missing await
when verifying pincode
`validPincode` ends up as a `Promise` and evaluates as a thruthy value wether the pin is correct or not.
This commit is contained in:
parent
e4fe749251
commit
6b141c3ea0
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ export async function authWithPincode(
|
|||
);
|
||||
}
|
||||
|
||||
const validPincode = verifyPassword(
|
||||
const validPincode = await verifyPassword(
|
||||
pincode,
|
||||
definedPincode.pincodeHash
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue