4 ms·
You don't reset the user's password when he/she requests it via a web form. You send the user an e-mail with a cryptographically secure token (rather, a URL co
by sounddust 17y ago
You don't reset the user's password when he/she requests it via a web form. You send the user an e-mail with a cryptographically secure token (rather, a URL containing the token) that allows them to reset their password. You keep a table of valid tokens and expire them regularly. That will serve the same purpose without causing an inconvenience to the user.
- jonknee 17y agoSome people do reset the password when requested via a web form though, that's what I was replying to. For my own projects I do what you suggested.