mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #8316 from anhld/anhld-patch-1
Password changing notification issue on new member
This commit is contained in:
commit
050afd79c1
@ -907,6 +907,7 @@ class Member extends DataObject
|
||||
&& $this->isChanged('Password')
|
||||
&& $this->record['Password']
|
||||
&& static::config()->get('notify_password_change')
|
||||
&& $this->isInDB()
|
||||
) {
|
||||
Email::create()
|
||||
->setHTMLTemplate('SilverStripe\\Control\\Email\\ChangePasswordEmail')
|
||||
|
Loading…
x
Reference in New Issue
Block a user