Borja Muñoz Ruiz-Dana

Results 3 comments of Borja Muñoz Ruiz-Dana

Here I'm facing the same problem with compareSync (is always returning false). But, in my case, when I change compareSync with compare, return true in every case. ![image](https://user-images.githubusercontent.com/102975279/213699890-63e2fcb2-5100-4548-a1b4-6bc82869bb42.png)

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: ``` if...

> > 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:...