Illegal arguments: string, undefined at Object.bcrypt.compareSync

在进入bcrypt.compareSync(password, user.get('password'))方法的时候报错了

 Illegal arguments: string, undefined     at Object.bcrypt.compareSync

请仔细检查代码中所用字段名与数据库是否匹配

相关文章:

  • 2021-06-02
  • 2021-04-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-11-16
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-21
  • 2021-06-13
  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案