Created
May 8, 2017 10:01
-
-
Save hhirsch/d8240523c567182411e2047d81474ab3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function setCustomerAsLoggedIn($customer) | |
{ | |
$this->setCustomer($customer); | |
$this->renewSession(); | |
Mage::getSingleton('core/session')->renewFormKey(); | |
Mage::dispatchEvent('customer_login', array('customer'=>$customer)); | |
return $this; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment