[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Encrypting password


The Disguised Jedi wrote:

I want the user's password to be encrypted when it is saved to the
database.  I set the field to have the "crypt" filter applied to it,
and now the password is encrypted, but the user cannot log on because
the page doesn't encrypt the password before sending it to the DB! Please let me know if there is a preference I need to change in my
configuration, or if there is a line of code I can add to my login
page to encrypt the password.

Thanks in advance for your responses...

You don't want to use the crypt filter for this. Instead, in your catalog.cfg file, specify:
UserDB crypt 1

This tells the Interchange UserDB module that you want to use encrypted passwords. The user provides a plaintext password when creating an account, logging in, etc., and the userdb code handles the encryption portion for you. That's all you need to do -- you don't have to handle the encryption logic yourself at all.

--
Ethan Rowe
End Point Corporation
suppressed

_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.