You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what bcrypt library you're using but doesn't the compare method take a callback as the third parameter (although I'm surprised it doesn't scream at you for not providing it)? There might be a synchronous version (compareSync) but ideally you should thunkify the async variant and yield in the controller.
Here is the method:
Here it is used in the controller.
The text was updated successfully, but these errors were encountered: