http://trac.turbogears.org/turbogears/ticket/754

Attached is a patch that adds some event handling to identity using a
generic event system. It's very, very simple, and other parts of
turbogears can add events too.

I'm using this right now and works for me. I want to share this with
other people that ran into the same limitations I did. There's no way
of doing this without modding identity.

Supported events are: on_success, on_failure, before_validation,
after_validation and on_logout

For example, I use on_failure to audit, before_validation to make some
modifications to the password before it hits the identity validator,
on_success to setup session data and on_logout to destroy it.

--
Claudio


--~--~---------~--~----~------------~-------~--~----~
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