Magento News

 

Magento, login as customer from admin

I’ve extended the Mage_Adminhtml_CustomerController with a new action loginAction in order to be able to login as a customer from the admin interface.

I call the loginById on the customer/session, but the customer’s session isn’t modified after the redirect.

Can someone explain why? It should be a simple operation.

Here’s a gist containing the loginAction

I appreciate any help.

Thanks!


Update:

I created a github-repo containing all the code for the module: https://github.com/KATT/Magento-CustomerLogin.

Once this issue is solved, it might be useful for someone else as well.

Magento, login as customer from admin

Possibly Related Posts:


 

Leave a Reply