Error: Illegal arguments: undefined, undefined
at _async (/home/tarun/Projects/extra/node-auth/node_modules/bcryptjs/dist/bcrypt.js:286:46)
at /home/tarun/Projects/extra/node-auth/node_modules/bcryptjs/dist/bcrypt.js:307:17
at new Promise (<anonymous>)
at Object.bcrypt.compare (/home/tarun/Projects/extra/node-auth/node_modules/bcryptjs/dist/bcrypt.js:306:20)
at router.post (/home/tarun/Projects/extra/node-auth/routes/user.js:117:36)
at process._tickCallback (internal/process/next_tick.js:68:7)
Can you please help me here ?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am getting the following error.
Error: Illegal arguments: undefined, undefined
at _async (/home/tarun/Projects/extra/node-auth/node_modules/bcryptjs/dist/bcrypt.js:286:46)
at /home/tarun/Projects/extra/node-auth/node_modules/bcryptjs/dist/bcrypt.js:307:17
at new Promise (<anonymous>)
at Object.bcrypt.compare (/home/tarun/Projects/extra/node-auth/node_modules/bcryptjs/dist/bcrypt.js:306:20)
at router.post (/home/tarun/Projects/extra/node-auth/routes/user.js:117:36)
at process._tickCallback (internal/process/next_tick.js:68:7)
Can you please help me here ?