mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
![]() This solves the issue where a package might do: ``` user = User.new user.email = 'test@test.com' token = user.generate_reset_token user.save send_reset_email(token) ``` Since the save clears the reset token, the user will receive a stale token that no longer works. Closes #3774 |
||
---|---|---|
.. | ||
devise | ||
generators | ||
devise.rb |