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

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

1 REPLY 1

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