Hold-Krykke / Security_and_FullstackJavascript_Exam

4. Semester Security og Fullstack Javascript Eksamens Projekt
0 stars 0 forks source link

Salt needs to be generated - IMPORTANT #30

Closed Castau closed 4 years ago

Castau commented 4 years ago

In the userFacade where we add a user we need to generate the salt - rigth now it's just hardcoded as 10: image

Should look lige this: image

It's fine that the saltrounds are hardcoded as 10, but we need to generate the salt itself.

This needs to be fixed before security report is due.

Runi-VN commented 4 years ago

I think the function does what we intend it to do, already? Or maybe I am missing something.

From the bottom of this paragraph: image where bacon is the string and 8 is the salt rounds.

Castau commented 4 years ago

I think the function does what we intend it to do, already? Or maybe I am missing something.

That's a good find - i checked the database and it looks like it's working as intended. image

Then there's no issue :D