confirmation_instructions: add "do not reply" remark to the email body

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.
This commit is contained in:
Georg Gadinger 2022-01-09 22:57:01 +01:00
parent aeb8f32fac
commit 331f6477b8
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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.