How to re-hash Laravel passwords?
问题 I'm making a forget password feature in my web app, problem is I store user's password using: Hash::make('_their_password_') Is there any way to re-hash it back or any recommended approach for this? 回答1: The point of hashing a password is that it's (supposed to be) an irreversible operation. If your database is compromised, the attacker will gain access to the hashes, but not to the passwords. That way the attacker can't log in with the users' passwords on other sites. Make a "we'll reset