Hash reset codes in database
Otherwise, they can be reused if the database gets leaked.
This commit is contained in:
parent
fa4f77c365
commit
dc22a5bc7c
2 changed files with 11 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
<%= _("Visit the following link to reset your password:") %>
|
||||
|
||||
<%= "#{settings.base_url}reset/#{@user.reset}" %>
|
||||
<%= "#{settings.base_url}reset/#{@reset}" %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue