From eb83f04dfbd7585b7b22d6027e6f359cc8a2b8b9 Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 2 May 2022 16:41:12 -0500 Subject: [PATCH] Fix #4272: Prevent password reset spam. Remove username from password reset email. A rate limit was previously added in 4542f3802. --- app/views/user_mailer/password_reset.html.erb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/views/user_mailer/password_reset.html.erb b/app/views/user_mailer/password_reset.html.erb index 37044075b..a91585375 100644 --- a/app/views/user_mailer/password_reset.html.erb +++ b/app/views/user_mailer/password_reset.html.erb @@ -1,12 +1,9 @@ -

Hi <%= @user.name %>,

-

- You recently requested your password to be reset for your <%= Danbooru.config.app_name %> - account. Click the link below to login to <%= Danbooru.config.app_name %> - and reset your password. + You recently requested your <%= Danbooru.config.app_name %> password to be reset. + Click the link below to login to <%= Danbooru.config.app_name %> and reset your password.