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)
839839 $ storeId = $ this ->getWebsiteStoreId ($ customer );
840840 }
841841
842+ $ customerEmailData = $ this ->getFullCustomerObject ($ customer );
842843 /** @var \Magento\Framework\Mail\TransportInterface $transport */
843844 $ transport = $ this ->transportBuilder ->setTemplateIdentifier (
844845 $ this ->scopeConfig ->getValue (
@@ -849,7 +850,7 @@ protected function sendPasswordResetNotificationEmail($customer)
849850 )->setTemplateOptions (
850851 ['area ' => \Magento \Framework \App \Area::AREA_FRONTEND , 'store ' => $ storeId ]
851852 )->setTemplateVars (
852- ['customer ' => $ customer , 'store ' => $ this ->storeManager ->getStore ($ storeId )]
853+ ['customer ' => $ customerEmailData , 'store ' => $ this ->storeManager ->getStore ($ storeId )]
853854 )->setFrom (
854855 $ this ->scopeConfig ->getValue (
855856 self ::XML_PATH_FORGOT_EMAIL_IDENTITY ,
You can’t perform that action at this time.
0 commit comments