[support] login with email and/or "hiding" user.name

Victor Kane victorkane at gmail.com
Fri Jul 31 12:52:37 UTC 2009


1a. I believe login tobagan gives the option to login with email
1b. hook_form_alter to login form, supply own submit handler, login
programmatically
1c. webform or roll your own login form, login programmatically in submit
handler
2. Just use the email for the user name, and add core profile or content
profilie module for first and last names, etc.
3. Override user.name theme to use profile values

Victor Kane
http://awebfactory.com.ar

On Fri, Jul 31, 2009 at 8:27 AM, Ivan Sergio Borgonovo <mail at webthatworks.it
> wrote:

> Hi all,
> I've to move users from a legacy system to D5.
>
> In the legacy system the user name for login was the email.
>
> Users will produce some public content.
>
> In many places drupal uses the user.name to refer to users but I
> can't of course use users' emails to refer to users.
>
> I can't even force the users to change the way they login. So they
> have to continue to be able to login with email, password.
>
> One way would be to automatically fill name with something
> auto-generated during import and change the login process (looking
> for some clean idea that won't involve changing core, form_alter?).
>
> Any other suggestion?
>
> --
> Ivan Sergio Borgonovo
> http://www.webthatworks.it
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/support/attachments/20090731/e93a9d1c/attachment-0001.htm>


More information about the support mailing list