From bd9d913a7482555dc036145802cef1afabb3a267 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 31 May 2018 17:05:13 +0200 Subject: [PATCH] [Fix #885] Remove unused mail templates --- app/views/users/mailer/confirmation_instructions.html.erb | 5 ----- .../users/mailer/reset_password_instructions.html.erb | 8 -------- app/views/users/mailer/unlock_instructions.html.erb | 7 ------- 3 files changed, 20 deletions(-) delete mode 100644 app/views/users/mailer/confirmation_instructions.html.erb delete mode 100644 app/views/users/mailer/reset_password_instructions.html.erb delete mode 100644 app/views/users/mailer/unlock_instructions.html.erb diff --git a/app/views/users/mailer/confirmation_instructions.html.erb b/app/views/users/mailer/confirmation_instructions.html.erb deleted file mode 100644 index dc55f64f6..000000000 --- a/app/views/users/mailer/confirmation_instructions.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -

Welcome <%= @email %>!

- -

You can confirm your account email through the link below:

- -

<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>

diff --git a/app/views/users/mailer/reset_password_instructions.html.erb b/app/views/users/mailer/reset_password_instructions.html.erb deleted file mode 100644 index f667dc12f..000000000 --- a/app/views/users/mailer/reset_password_instructions.html.erb +++ /dev/null @@ -1,8 +0,0 @@ -

Hello <%= @resource.email %>!

- -

Someone has requested a link to change your password. You can do this through the link below.

- -

<%= link_to 'Change my password', 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.

diff --git a/app/views/users/mailer/unlock_instructions.html.erb b/app/views/users/mailer/unlock_instructions.html.erb deleted file mode 100644 index 41e148bf2..000000000 --- a/app/views/users/mailer/unlock_instructions.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -

Hello <%= @resource.email %>!

- -

Your account has been locked due to an excessive number of unsuccessful sign in attempts.

- -

Click the link below to unlock your account:

- -

<%= link_to 'Unlock my account', unlock_url(@resource, unlock_token: @token) %>