Illegal arguments: string, undefined at Object.bcrypt.compareSync
在进入bcrypt.compareSync(password, user.get('password'))方法的时候报错了
bcrypt.compareSync(password, user.get('password'))
请仔细检查代码中所用字段名与数据库是否匹配