From b6189c1612795295c9f42fde1b8b5cd524b0ed87 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sat, 26 Apr 2008 06:35:14 +0000 Subject: [PATCH] Merged revisions 52794 via svnmerge from http://svn.silverstripe.com/open/modules/sapphire/branches/govtsecurity ........ r52794 | sminnee | 2008-04-15 22:18:17 +1200 (Tue, 15 Apr 2008) | 1 line Disabled changePassword email - use the onBeforeWrite email instead ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@53487 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Member.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/security/Member.php b/security/Member.php index d0ec6dba1..e54209e84 100644 --- a/security/Member.php +++ b/security/Member.php @@ -946,8 +946,10 @@ class Member extends DataObject { if($valid->valid()) { $this->AutoLoginHash = null; $this->write(); + + // Emails will be sent by Member::onBeforeWrite(). - $this->sendinfo('changePassword', array('CleartextPassword' => $password)); + //$this->sendinfo('changePassword', array('CleartextPassword' => $password)); } return $valid;