Current section: Login 4 exercises

Secure Password Authentication with bcrypt Compare in Node.js

Loading exercise


00:00 Right now I can log in as any user with any password and it lets me in. Your job is to actually compare the hash of the password that the user has entered with the hash of the password that we have saved in the database. You're going to use bcrypt compare to do this, so let's get going.