阅读背景:

使用Knock更新时需要密码

来源:互联网 

I'm trying to require the user's current password when they update their user record with Knock. I thought that I could run their submitted password through the same process as what creates password_digest, but whenever I compare the hashes created, they are different. Am I missing something when hashing the user input?I'm trying to require the user's current passwo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: