#876: [PATCH] - default identity provider
-------------------------+--------------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  anonymous
     Type:  enhancement  |      Status:  new      
 Priority:  normal       |   Milestone:  1.0b1    
Component:  Identity     |     Version:  0.9a5    
 Severity:  normal       |    Keywords:           
-------------------------+--------------------------------------------------
 this is a patch that a member of my development team found for a
 project we're putting together based on turbogears. originally, she
 found this referenced here:

 
http://groups.google.com/group/turbogears/browse_thread/thread/e1cd7e5e8cb26bba/9f8ae06fbe07bd5a

 and we found it useful as well. please consider this for 1.0, thanks! bob

 the patch (against .9a6):

 ===================================================================
 --- __init__.py (revision 1476)
 +++ __init__.py (working copy)
 @@ -71,7 +71,10 @@
          try:
              provider= cherrypy.request.identityProvider
          except AttributeError:
 -            provider= None
 +            try:
 +                provider = create_default_provider()
 +            except:
 +                provider= None

          if provider is None:
              if not request_available():

-- 
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/876>
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