To compare/check a password, use the compare function: const isMatch = await bcrypt.compare(password, hash);. You can read more about available functions ...
確定! 回上一頁