Open codeater7 opened 4 years ago
Password should be the unhased value.
So if the password was ABCDEF
, and its hash is 123456jdjfkdldlkfkfkfkf
. To the compare function we should be passing,
bcrypt.compare( 'ABCDEF', '123456jdjfkdldlkfkfkfkf', ....