On 5/25/06, Ron <[EMAIL PROTECTED]> wrote:

What is the proper way replace encrypt_password with your own function?
I want to add the ability to use a salt from the DB when encrypting.
I can go change the identity code but it would be nice if there was a
way to do it from my project.

the way identity is right now you will have to hack the framework code. see http://tinyurl.com/h5dg3
the link to the wiki is a way.

Inspired by that thread I'm working on a refractor of identity so far I have a base class for all SQLProviders and I think I could make a base "abtract" class for people to implement their own provider, but so far it seems most people just want to change the passwords source/autentication.

I'm not sure what you are refering to with "salt from the DB" but if it's a common way it could be add to the defaults.




Thanks,
-Ron




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to