summaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-05-08 08:27:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-05-08 08:27:24 +0000
commit2da406e12aef71b8d5f7abe9906d8051b9ea6661 (patch)
tree77c3c8addcab3a47ee0e991c54179e0315d38783 /app/models
parentb553b23e6b9d712d9c1168cbb167a2bbfd9ec088 (diff)
downloadredmine-2da406e12aef71b8d5f7abe9906d8051b9ea6661.tar.gz
redmine-2da406e12aef71b8d5f7abe9906d8051b9ea6661.zip
Adds a specific string for password changed notification (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15399 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r--app/models/mailer.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/mailer.rb b/app/models/mailer.rb
index dba3107ed..79f3229e7 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -313,8 +313,7 @@ class Mailer < ActionMailer::Base
# Notifies user that his password was updated
def self.password_updated(user)
Mailer.security_notification(user,
- message: :mail_body_security_notification_change,
- field: :field_password,
+ message: :mail_body_password_updated,
title: :button_change_password,
url: {controller: 'my', action: 'password'}
).deliver