Hash reset codes in database

Otherwise, they can be reused if the database gets leaked.
This commit is contained in:
ricola 2025-06-07 19:28:58 -06:00
parent fa4f77c365
commit dc22a5bc7c
2 changed files with 11 additions and 4 deletions

View file

@ -1,3 +1,3 @@
<%= _("Visit the following link to reset your password:") %>
<%= "#{settings.base_url}reset/#{@user.reset}" %>
<%= "#{settings.base_url}reset/#{@reset}" %>