The following is the implementation code;
Why does it keep prompting that the original password is incorrect?
PHP中文网2017-05-16 13:05:00
if (Hash::check('plain-text', $hashedPassword)) {
// 密码对比...
}
This is in the documentation. So here your parameters are in the wrong position. As a result, the comparison between the encrypted password and the unencrypted original password is naturally wrong.