Skip to content

Commit 1b86733

Browse files
authored
Fixed customer can't login after registering through PayPal Express Checkout (#3979)
1 parent e3f2574 commit 1b86733

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/core/Mage/Paypal/Model/Express/Checkout.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,7 @@ protected function _prepareNewCustomerQuote()
986986
$customer->setSuffix($quote->getCustomerSuffix());
987987
$customer->setPassword($customer->decryptPassword($quote->getPasswordHash()));
988988
$customer->setPasswordHash($customer->hashPassword($customer->getPassword()));
989+
$customer->setPasswordCreatedAt(time());
989990
$customer->save();
990991
$quote->setCustomer($customer);
991992
$quote->setPasswordHash('');

0 commit comments

Comments
 (0)