Fix #97 - plain text version of devise e-mails
This commit is contained in:
parent
43df35213e
commit
aea151a0de
3 changed files with 16 additions and 0 deletions
5
app/views/auth/mailer/confirmation_instructions.text.erb
Normal file
5
app/views/auth/mailer/confirmation_instructions.text.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
Welcome <%= @resource.email %>!
|
||||
|
||||
You can confirm your Mastodon account email through the link below:
|
||||
|
||||
<%= confirmation_url(@resource, confirmation_token: @token) %>
|
3
app/views/auth/mailer/password_change.text.erb
Normal file
3
app/views/auth/mailer/password_change.text.erb
Normal file
|
@ -0,0 +1,3 @@
|
|||
Hello <%= @resource.email %>!
|
||||
|
||||
We're contacting you to notify you that your password on Mastodon has been changed.
|
|
@ -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.
|
Loading…
Reference in a new issue