summaryrefslogtreecommitdiff
path: root/app/views/devise/mailer/confirmation_instructions.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/devise/mailer/confirmation_instructions.text.erb')
-rw-r--r--app/views/devise/mailer/confirmation_instructions.text.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/devise/mailer/confirmation_instructions.text.erb b/app/views/devise/mailer/confirmation_instructions.text.erb
index 9f76edb76a4..d4bfb3af76f 100644
--- a/app/views/devise/mailer/confirmation_instructions.text.erb
+++ b/app/views/devise/mailer/confirmation_instructions.text.erb
@@ -1,3 +1,6 @@
+<% if @resource.is_a?(Email) %>
+<%= render partial: 'confirmation_instructions_secondary' %>
+<% else %>
Welcome, <%= @resource.name %>!
<% if @resource.unconfirmed_email.present? %>
@@ -7,3 +10,4 @@ You can confirm your account through the link below:
<% end %>
<%= confirmation_url(@resource, confirmation_token: @token) %>
+<% end %>