Information Security with HelmetJS - Hash and Compare Passwords Asynchronously

Tell us what’s happening:
Describe your issue in detail here.

Async hash should be generated and correctly compared.

Your project link(s)

solution: boilerplate-bcrypt - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.67

Challenge: Information Security with HelmetJS - Hash and Compare Passwords Asynchronously

Link to the challenge:

You have removed the listener at the bottom of the file.

app.listen(process.env.PORT || 3000, () => {});

Also, I’m pretty sure you have to leave the code comments. Unless the tests have been changed.

https://github.com/freeCodeCamp/boilerplate-bcrypt/blob/d69fb0cb441684ecf9e98b7caefaa6fb04f29dda/server.js

I have added listener and still doesn’t work

same error

As I said, you need the code comments.

//START_ASYNC -do not remove notes, place code between correct pair of notes.


//END_ASYNC

//START_SYNC



//END_SYNC

Put the bcrypt code between the async start and end comments.

thank you , it worked. I will not remove from next time.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.