[support] Password stored in DB

Jamie Holly hovercrafter at earthlink.net
Sun May 29 17:44:37 UTC 2011


Honestly I would go a different route. Store an encrypted password
(maybe mcrypt?) in the $user->data array. Once they are registered
through the new service, delete out that setting in $user->data.

Jamie Holly
http://www.intoxination.net 
http://www.hollyit.net


On 5/28/2011 1:05 PM, sivaji j.g wrote:
> On Sat, May 28, 2011 at 5:17 PM, Salvatore De Paolis <iwkse at gmx.com> wrote:
> >
> > Hi,
> > I'd like to know if it's possible to store passwords in plain text with
> > Drupal. I see it's probably md5 hashed.
> > I'd need them in plain text because I have an action which register the
> > user to another service on the server once the user is registered, but
> > since the password is hashed it doesn't work.
>
> Alter the registration form, add a custom submit handler where
> $form_state['values']['pass'] will have plain text password.
>
>
>
>
> --
> Sivaji
> +91 9941 571 690


More information about the support mailing list