// Fix pub@prestashop.com default account password
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11829 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -269,7 +269,7 @@ class CustomerCore extends ObjectModel
|
||||
WHERE `active` = 1
|
||||
AND `email` = \''.pSQL($email).'\'
|
||||
'.$shop->addSqlRestriction(Shop::SHARE_CUSTOMER).'
|
||||
'.(isset($passwd) ? 'AND `passwd` = \''.md5(_COOKIE_KEY_.$passwd).'\'' : '').'
|
||||
'.(isset($passwd) ? 'AND `passwd` = \''.Tools::encrypt($passwd).'\'' : '').'
|
||||
AND `deleted` = 0
|
||||
AND `is_guest` = 0';
|
||||
$result = Db::getInstance()->getRow($sql);
|
||||
|
||||
Reference in New Issue
Block a user