File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/code/Magento/Customer/Model Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -839,6 +839,7 @@ protected function sendPasswordResetNotificationEmail($customer)
839
839
$ storeId = $ this ->getWebsiteStoreId ($ customer );
840
840
}
841
841
842
+ $ customerEmailData = $ this ->getFullCustomerObject ($ customer );
842
843
/** @var \Magento\Framework\Mail\TransportInterface $transport */
843
844
$ transport = $ this ->transportBuilder ->setTemplateIdentifier (
844
845
$ this ->scopeConfig ->getValue (
@@ -849,7 +850,7 @@ protected function sendPasswordResetNotificationEmail($customer)
849
850
)->setTemplateOptions (
850
851
['area ' => \Magento \Framework \App \Area::AREA_FRONTEND , 'store ' => $ storeId ]
851
852
)->setTemplateVars (
852
- ['customer ' => $ customer , 'store ' => $ this ->storeManager ->getStore ($ storeId )]
853
+ ['customer ' => $ customerEmailData , 'store ' => $ this ->storeManager ->getStore ($ storeId )]
853
854
)->setFrom (
854
855
$ this ->scopeConfig ->getValue (
855
856
self ::XML_PATH_FORGOT_EMAIL_IDENTITY ,
You can’t perform that action at this time.
0 commit comments