By esadot on
Hi,
I'm looking for a way (api/function/etc,) to sign in a user based on his email address. As part of the EC purchasing process a visitor is asked to fill out his email address, if such a visitor already has an account, I'd like to sign him in immediately, based only on his email address. Any advise on how to change the code to accomplish?
Regards,
Comments
Logintoboggan
http://drupal.org/project/logintoboggan
Thanks, but I'm not looking
Thanks, but I'm not looking for a user interface option, I'm looking to change the code. Does the logintoboggan can help me out here?
Given only the user's email, I can find out whether the user is registered already, if he does, and at the moment he's not log-in, I'd like to be able to log the user in (and again I only have the user's email address not his password).
Regards,
Creepy
You mean.,,,,you want to login as the user without having to use password?
yep :)
yep :)
The devel module has a block
The devel module has a block for switching users. Maybe that can help you.
--
Alexandru Badiu
Web: http://www.voidberg.org
YM: voidberg / Skype: alex.badiu
Masquerade module?
I think Masquerade also
http://drupal.org/project/masquerade