Skip to content

Function: verifyPassword() ​

ts
function verifyPassword(stored, password): Promise<boolean>;

Defined in: server/accounts.ts:1328

Whether password matches a hash made by hashPassword, in constant time.

Parameters ​

ParameterType
storedstring
passwordstring

Returns ​

Promise<boolean>

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.