diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 16:39:21 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-18 16:39:21 +0200 |
commit | aea151a0ded4f7cc3a16901727931aff78a8b050 (patch) | |
tree | dc37dfe15c2a1441c02948243800243a6dde7018 /app | |
parent | 43df35213e80b9b7de69cc80f138882708a05b9b (diff) |
Fix #97 - plain text version of devise e-mails
Diffstat (limited to 'app')
-rw-r--r-- | app/views/auth/mailer/confirmation_instructions.text.erb | 5 | ||||
-rw-r--r-- | app/views/auth/mailer/password_change.text.erb | 3 | ||||
-rw-r--r-- | app/views/auth/mailer/reset_password_instructions.text.erb | 8 |
3 files changed, 16 insertions, 0 deletions
diff --git a/app/views/auth/mailer/confirmation_instructions.text.erb b/app/views/auth/mailer/confirmation_instructions.text.erb new file mode 100644 index 000000000..bb21cf8e2 --- /dev/null +++ b/app/views/auth/mailer/confirmation_instructions.text.erb @@ -0,0 +1,5 @@ +Welcome <%= @resource.email %>! + +You can confirm your Mastodon account email through the link below: + +<%= confirmation_url(@resource, confirmation_token: @token) %> diff --git a/app/views/auth/mailer/password_change.text.erb b/app/views/auth/mailer/password_change.text.erb new file mode 100644 index 000000000..27581e604 --- /dev/null +++ b/app/views/auth/mailer/password_change.text.erb @@ -0,0 +1,3 @@ +Hello <%= @resource.email %>! + +We're contacting you to notify you that your password on Mastodon has been changed. diff --git a/app/views/auth/mailer/reset_password_instructions.text.erb b/app/views/auth/mailer/reset_password_instructions.text.erb new file mode 100644 index 000000000..fe73b0165 --- /dev/null +++ b/app/views/auth/mailer/reset_password_instructions.text.erb @@ -0,0 +1,8 @@ +Hello <%= @resource.email %>! + +Someone has requested a link to change your password on Mastodon. You can do this through the link below. + +<%= edit_password_url(@resource, reset_password_token: @token) %> + +If you didn't request this, please ignore this email. +Your password won't change until you access the link above and create a new one. |