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 magento.stackexchange.com, 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 community@magento.com.

Magento Forum

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

Hi

I have added a new field to the customer account using this article.
http://www.magentocommerce.com/wiki/custom_account/registration_fields

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?

Thanks

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