Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ThePowerOfFuet
· 5y ago · 0 comments
Why? Just make the user go through the reset-password flow.
Comments
[–]
premek
5y ago
in that case you don't send them a randomly generated string called a password but a randomly generated string called a token, right?
[–]
ThePowerOfFuet
OP
5y ago
Correct, but it's generated only when they initiate the reset-password flow, and should be time-limited and only usable once. It's not stored in the database for long periods.