summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2015-05-13 21:57:16 -0600
committerVinnie Okada <vokada@mrvinn.com>2015-05-16 14:03:18 -0600
commitaf428b12598f06073327bc63d75d9c358c95067a (patch)
treee82cb1b3cb69652dfc4746102db27e20a5c4b01b /app/helpers
parentc68c23210bdf9f0d7212fa55e7bef71ac0f87bcf (diff)
downloadgitlab-ce-af428b12598f06073327bc63d75d9c358c95067a.tar.gz
Fill in email on the new password form
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/emails_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/emails_helper.rb b/app/helpers/emails_helper.rb
index 12aa561a14e..128de18bc47 100644
--- a/app/helpers/emails_helper.rb
+++ b/app/helpers/emails_helper.rb
@@ -50,7 +50,7 @@ module EmailsHelper
end
def reset_token_expire_message
- link_tag = link_to('request a new one', new_user_password_url)
+ link_tag = link_to('request a new one', new_user_password_url(user_email: @user.email))
msg = "This link is valid for #{password_reset_token_valid_time}. "
msg << "After it expires, you can #{link_tag}."
end