summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/mailer.rb3
-rw-r--r--config/locales/en.yml1
-rw-r--r--config/locales/fr.yml1
3 files changed, 3 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
diff --git a/config/locales/en.yml b/config/locales/en.yml
index f7c696dca..e1a8f2bd4 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -236,6 +236,7 @@ en:
mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications."
mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications."
mail_body_settings_updated: "The following settings were changed:"
+ mail_body_password_updated: "Your password has been changed."
field_name: Name
field_description: Description
diff --git a/config/locales/fr.yml b/config/locales/fr.yml
index a8e7e5c46..475a5b0f0 100644
--- a/config/locales/fr.yml
+++ b/config/locales/fr.yml
@@ -249,6 +249,7 @@ fr:
mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour"
mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}."
mail_body_settings_updated: "Les paramètres suivants ont été modifiés :"
+ mail_body_password_updated: "Votre mot de passe a été changé."
field_name: Nom
field_description: Description