cancel
Showing results for 
Search instead for 
Did you mean: 

Change Magento Login requirements

SOLVED

Change Magento Login requirements

I need to add an alternative verification in the login.

The clients can login normally with their email, as always, and i want that their can login with a number provided by me.

I only find 'customer_login' observer, but it doesn't works.

 

<events>
    <customer_login>
         <observers>
             <login_with_external_id>
                  <class>module/observer</class>
                  <method>loginWithExternalId</method>
            </login_with_external_id>
        </observers>
    </customer_login>
[...]


How can i do?, any idea?

Thanks for any help

Tags (2)
1 REPLY

Re: Change Magento Login requirements

Finally i found my observer

 

<controller_action_predispatch_customer_account_loginpost>

It's works for me, and i hope works for all