Skip to content

Commit 186d396

Browse files
committed
Update password reset emails
1 parent 6f325c3 commit 186d396

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/password_reset_key_mailer/reset_link_email.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
</head>
66
<body>
7-
<p>Someone requested a password reset for your mooc.fi account <%= @user.login %>.<%= @origin ? " The request originated from '#{@origin}'." : '' %> Please proceed to the following URL to change your password</p>
7+
<p>Someone requested a password reset for your mooc.fi account <%= @user.email %>.<%= @origin ? " The request originated from '#{@origin}'." : '' %> Please proceed to the following URL to change your password</p>
88

99
<a href="<%= @url %>"><%= @url %></a>
1010

app/views/password_reset_key_mailer/reset_link_email.text.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Someone requested a password reset for your mooc.fi account <%= @user.login %>.<% @origin.nil? ? '' : " The request originated from #{@origin}." %> Please proceed to the following URL to change your password
1+
Someone requested a password reset for your mooc.fi account <%= @user.email %>.<% @origin.nil? ? '' : " The request originated from #{@origin}." %> Please proceed to the following URL to change your password
22

33
<%= @url %>
44

0 commit comments

Comments
 (0)