From 57431fb05bd8a03d4c1cd7a684011836440607b5 Mon Sep 17 00:00:00 2001 From: Fabrizio Balliano Date: Wed, 8 May 2024 13:45:10 +0100 Subject: [PATCH] Fixed customer can\t login after registering through PayPal Express Checkout --- app/code/core/Mage/Paypal/Model/Express/Checkout.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/core/Mage/Paypal/Model/Express/Checkout.php b/app/code/core/Mage/Paypal/Model/Express/Checkout.php index a9f3ca544ae..979feaa7817 100644 --- a/app/code/core/Mage/Paypal/Model/Express/Checkout.php +++ b/app/code/core/Mage/Paypal/Model/Express/Checkout.php @@ -986,6 +986,7 @@ protected function _prepareNewCustomerQuote() $customer->setSuffix($quote->getCustomerSuffix()); $customer->setPassword($customer->decryptPassword($quote->getPasswordHash())); $customer->setPasswordHash($customer->hashPassword($customer->getPassword())); + $customer->setPasswordCreatedAt(time()); $customer->save(); $quote->setCustomer($customer); $quote->setPasswordHash('');