diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/account_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/account_controller.rb b/app/controllers/account_controller.rb index 27db70836..dfe229526 100644 --- a/app/controllers/account_controller.rb +++ b/app/controllers/account_controller.rb @@ -103,7 +103,9 @@ class AccountController < ApplicationController user = User.find_by_mail(email) # user not found unless user - flash.now[:error] = l(:notice_account_unknown_email) + # Don't show an error indicating a non-existent email address + # to prevent email harvesting + flash[:notice] = l(:notice_account_lost_email_sent) return end unless user.active? |