forked from External/greenlight
GRN-45: Fixed the URL being sent in the password reset email (#351)
* Fixed the url used in the reset password emails and added the ability to preview emails in the dev environment * Replaced localhost with example.com in email previews * Update password_reset.html.erb
This commit is contained in:
committed by
Jesus Federico
parent
ecee282fc4
commit
c73064a70a
@ -31,7 +31,7 @@
|
||||
|
||||
<a
|
||||
style="background: #467fcf;color: #ffffff; padding: 10px 15px; box-shadow: 0 2px 4px 0 rgba(0,0,0,.25);border: 1px solid transparent;text-decoration:none;"
|
||||
href="<%= edit_password_reset_url(@user.reset_token, email: @user.email, host: @url) %>">
|
||||
href="<%= @url %>">
|
||||
Reset Password
|
||||
</a>
|
||||
|
||||
|
Reference in New Issue
Block a user