aboutsummaryrefslogtreecommitdiffstats
path: root/password.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-02-11 09:54:30 +0000
committerplegall <plg@piwigo.org>2011-02-11 09:54:30 +0000
commit15baff17a67c0f96f7ba22b4e52fb1d854ea541f (patch)
treefa1777e23f89a70c0cf1bcc8fcf41d691dacab3b /password.php
parent9d5622f4fab1638b5f8e9a5428a521ed34b36950 (diff)
feature 2187 added: new trigger to enhance/modify lost password email.
git-svn-id: http://piwigo.org/svn/trunk@9169 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'password.php')
-rw-r--r--password.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/password.php b/password.php
index 847e6e207..ffd50e8bb 100644
--- a/password.php
+++ b/password.php
@@ -84,6 +84,8 @@ WHERE '.$conf['user_fields']['email'].' = \''.$mail_address.'\'
."\n".l10n('Password').': '.$new_password
;
+ $infos = trigger_event('render_lost_password_mail_content', $infos);
+
if (pwg_mail($row['email'],
array('subject' => l10n('password updated'), 'content' => $infos)))
{