Closed (won't fix)
Project:
Services
Version:
7.x-3.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2012 at 17:51 UTC
Updated:
7 Feb 2012 at 18:08 UTC
I have made a local patch to my Services module that allows the User Login resource to accept an e-mail address and password to login a user. Basically, it checks to see if $username is an e-mail address in _user_resource_login, if it is, it quickly looks up a user name and repopulates the $username variable with the user name if it finds it. Execution continues as normal from there.
Is this a patch the Services module would be interested in? Or would you rather I create a new User Resource, e.g. "Login w/ E-mail Address" and commit that new resource patch?
Please let me know and I'd be happy to implement either one, thanks!
Comments
Comment #1
marcingy commentedThis won't go into services as the feature is not part of drupal core. It either needs to be in own project - you can get a sandbox that can eventually be promoted to a full project or maybe speak to the loggintoboggon project and see if they want to include a service.
Comment #2
tyler.frankenstein commentedThanks!
I have taken this up with the LoginToboggan team:
http://drupal.org/node/1431724