Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Login Customization
Jr. Member
Total Posts:  26
Joined:  2009-05-06


I have added a new field to the customer account using this article.

My new value, custac is added to the database table customer_entity_varchar.
What I need to do now is modify the login to use this value. So i have added the custac field to the login. So I now have custac, username and password.

I have create an a user and the custac details are stored in the database.

I not sure of what to do next as I need to authtenticate a user using the 3 values. I have looked at the AccountController.php and there is a function called loginPostAction.

I made the following modfication
$session->login($login[’username’], $login[’password’], $login[’custac’]); but it ignores the custac value and authenticarte the users usinG the username and password.

Can anybody help me to implement the authentication using the 3 field values, custac,username and password?


Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top