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
You'll want to import in your hashPassword function from passwordHandling.js to hash the password you've passed as a paramater in line 4. Remember your hashPassword function returns a promise, so you might need a .then() to find the hash! Compare this hash to dbPassword and you should be golden.
PS. I think you'll need to resolve true or false, rather than resolving the password.
The text was updated successfully, but these errors were encountered:
So close to getting the compare passwords bit done before the code review, which is great stuff!
You'll want to import in your hashPassword function from passwordHandling.js to hash the password you've passed as a paramater in line 4. Remember your hashPassword function returns a promise, so you might need a .then() to find the hash! Compare this hash to dbPassword and you should be golden.
PS. I think you'll need to resolve true or false, rather than resolving the password.
The text was updated successfully, but these errors were encountered: