Jump to content

how can i connect with the name and password instead of the email and password?


Hefdhi

Recommended Posts

You have to make overrides to auth controller and customer class. In auth controller there is a function called processSubmitLogin where customer is checked for email and password $customer->getByEmail. My suggestion is to create another function in customer class, same as this one except checking for name.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...