mosesrb
mosesrb
I am having the same issue, anyone got the around it?
> For me the solution was to hashing the password and then compare it. It seems that the bycrypt.compare only works with the original password and the hashed pasword: >...
Something is up with my MongoDB idk, tried argon2 npm as well and even that package is unable to verify password from MongoDB, below is my password field schema, am...
@borjamunozvw Yes you are right the 'user' is from database, however the bcrypt.compare() require plaintext and hash password from database. `bcrypt.compare(plaintext, hashpassword)` and i also tried your code but it's...
@recrsn I am using [email protected] along with [email protected] with mongoDB compass. I have no idea why compare method is not working. I tried argon2 npm as well. The verify method...