What is the best method to reset a user password when password is hashed:
- Reset a password to a random string and send that string to their registered mail?
- Create a unique hash link for resetting password which is valid for an hour and sending that link to mail?
- Any other method?