Drupal login form allows users to enter their username or email to login into the site.
I need to achieve the same thing with services. But services allows users to login with username (not working with email).
JSON format for User Login (works).
But how can we do login using "email" as username? I've tried the following JSON formats
["Wrong username or password."]
["Missing required argument username"]
According to this link, I need to tweak the services modules to achieve this requirement.
Is there any way to achieve this?