Skip to content

Commit

Permalink
Add password reset link expiration notice
Browse files Browse the repository at this point in the history
resolves #193
  • Loading branch information
alexskr committed Mar 6, 2024
1 parent b78284b commit 01046a5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/ontologies_linked_data/utils/notifications.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,16 @@ def self.obofoundry_sync(missing_onts, obsolete_onts)
EOS

REST_PASSWORD = <<~HTML
Someone has requested a password reset for user %username% . If this was
you, please click on the link below to reset your password. Otherwise, please
ignore this email.<br/><br/>
Someone has requested a password reset for user %username% . If this action
was initiated by you, please click on the link below to reset your password.
<br/><br/>
<a href="%password_url%">%password_url%</a><br/><br/>
Please note that the password link is valid for one hour only. If you did not
request this password reset or no longer require it, you may safely ignore this email.
<br/><br/>
Thanks,<br/>
%ui_name% Team
HTML
Expand Down

0 comments on commit 01046a5

Please sign in to comment.