#754: Identity events
------------------------------+---------------------------------------------
 Reporter:  Claudio Martinez  |       Owner:  anonymous
     Type:  enhancement       |      Status:  new      
 Priority:  normal            |   Milestone:  0.9      
Component:  Identity          |     Version:  0.9a4    
 Severity:  normal            |    Keywords:           
------------------------------+---------------------------------------------
 It would be nice to have the posibility to add functions to certain
 identity events.

 One example

 import identity

 def login_succesful(user):

   # setup some session data

 identity.on_sucess.append(login_successful)

 Would help clear a lot of redundant code from controllers.

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/754>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---

Reply via email to