about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2017-10-02 14:21:46 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-10-02 07:21:46 +0200
commitd841af4e80e512921653f55bf545199f22a74b32 (patch)
treef33d46684195cec94e8e6f16752296e82865f203
parent01d6aa0397290f93828713cdb40f261310cedb42 (diff)
Append confirmation link as plain text (#5146)
* Append confirmation link as plain text

Some mail application is malfunctioning with links.

* Change description text
-rw-r--r--app/views/user_mailer/confirmation_instructions.en.html.erb9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/user_mailer/confirmation_instructions.en.html.erb b/app/views/user_mailer/confirmation_instructions.en.html.erb
index f28a38be2..885c0b56a 100644
--- a/app/views/user_mailer/confirmation_instructions.en.html.erb
+++ b/app/views/user_mailer/confirmation_instructions.en.html.erb
@@ -2,11 +2,14 @@
 
 <p>You just created an account on <%= @instance %>.</p>
 
-<p>To confirm your inscription, please click on the following link : <br>
-<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>
+<p>If the above link did not work, copy and paste this URL into your address bar: <br>
+<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
+
+<p>If above link not worked, Copy and paste this URL</p>
+<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
 
 <p>Please also check out our <%= link_to 'terms and conditions', terms_url %>.</p>
 
 <p>Sincerely,<p>
 
-<p>The <%= @instance %> team</p>
\ No newline at end of file
+<p>The <%= @instance %> team</p>