about summary refs log tree commit diff
path: root/app/views/user_mailer/confirmation_instructions.text.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user_mailer/confirmation_instructions.text.erb')
-rw-r--r--app/views/user_mailer/confirmation_instructions.text.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/user_mailer/confirmation_instructions.text.erb b/app/views/user_mailer/confirmation_instructions.text.erb
index e01eecb27..65b4626c6 100644
--- a/app/views/user_mailer/confirmation_instructions.text.erb
+++ b/app/views/user_mailer/confirmation_instructions.text.erb
@@ -4,7 +4,7 @@
 
 <%= t 'devise.mailer.confirmation_instructions.explanation', host: site_hostname %>
 
-=> <%= confirmation_url(@resource, confirmation_token: @token) %>
+=> <%= confirmation_url(@resource, confirmation_token: @token, redirect_to_app: @resource.created_by_application ? 'true' : nil) %>
 
 <%= strip_tags(t('devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: terms_url)) %>