Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaunui Saint-sevin <haunui.ss@gmail.com>2019-06-04 03:49:20 +0300
committerHaunui Saint-sevin <haunui.ss@gmail.com>2019-06-05 00:18:11 +0300
commit3de4d313a353e2133da5adc9140ce939e76eed94 (patch)
treef9667f12041a43495d9887c16ecbd4d37d134617 /app/helpers/emails_helper.rb
parente5a74e0b7e2b8b2e82c5267bda45e4e96fca2346 (diff)
Remove html tag from the text part of email
Instead of calling single function emitting HTML tags in the HTML part of email, directly output HTML tags or raw text.
Diffstat (limited to 'app/helpers/emails_helper.rb')
-rw-r--r--app/helpers/emails_helper.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/emails_helper.rb b/app/helpers/emails_helper.rb
index dc0e5511fcf..2f59d54057f 100644
--- a/app/helpers/emails_helper.rb
+++ b/app/helpers/emails_helper.rb
@@ -57,12 +57,6 @@ module EmailsHelper
pluralize(valid_length, unit)
end
- def reset_token_expire_message
- link_tag = link_to('request a new one', new_user_password_url(user_email: @user.email))
- "This link is valid for #{password_reset_token_valid_time}. " \
- "After it expires, you can #{link_tag}."
- end
-
def header_logo
if current_appearance&.header_logo?
image_tag(