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
This commit is contained in:
Sam Minnee 2008-04-26 06:35:14 +00:00
parent 7409776a26
commit b6189c1612

View File

@ -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;