Skip to content

Commit

Permalink
confirmation_instructions: add "do not reply" remark to the email body
Browse files Browse the repository at this point in the history
There have been several replies to this email containing nothing but the
sentence `Yes, I confirm.` or just simply `Confirmed`.  It seems like
someone discovered that replying to the email with exactly that helped
with recovering their Twitter account after it was locked, and now people
try to do this everywhere else.
  • Loading branch information
nilsding committed Jan 9, 2022
1 parent aeb8f32 commit 331f647
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/devise/mailer/confirmation_instructions.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
%p{ style: 'margin:0px;padding:0px' } You can confirm your account email through the link below:
%p{ style: 'margin:0px;padding:0px' }
= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token, protocol: (APP_CONFIG['https'] ? :https : :http))
%p  
%p{ style: 'margin:0px;padding:0px' } Please do not reply to this email.
2 changes: 2 additions & 0 deletions app/views/devise/mailer/confirmation_instructions.text.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ You can confirm your account email by copying link below,
and entering it into your browser.

<%= confirmation_url(@resource, confirmation_token: @token, protocol: (APP_CONFIG['https'] ? :https : :http)) %>

Please do not reply to this email.

0 comments on commit 331f647

Please sign in to comment.