0

We have been having customers register with a capital letter in their email address. When they come back to login, they do not enter it capitalized and then cannot login.

How can we make it so that the email address is always submitted lowercase, or make it case insensitive during the login?

1 Answer 1

0

Create an observer to listen for an event fired while creating the customer account, and run the email address through the strtolower() function.

Also have an observer on the login checks (I'm sure there is an event you could listen to) and run the email through the strtolower function again. You should be golden!

If you don't want to use observers, you could look for a JavaScript-based solution...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.