mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-18 08:18:43 +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,
|
pincode,
|
||||||
definedPincode.pincodeHash
|
definedPincode.pincodeHash
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue