On Wed, Jan 5, 2011 at 10:59 AM, Landreville <[email protected]>wrote:
> I've followed the guide at > http://wiki.pylonshq.com/display/pylonscookbook/Pylons+1.0+and+repoze.what > to create a test application with just the bare minimum to get it > working (all copied from the guide), the validate_password() call > returns True for the correct user, but it still does not set the > identity (request.environ.get('repoze.who.identity')) in the > post_login action method. > > Is there a way to get repoze.what to log what it is doing so that I > can debug where the problem is? > > If I check the environ at the end of repoze.who.middleware.PluggableAuthenticationMiddleware.__call__ I can see that it set environ['repoze.who.identity']. Does this mean that something else afterwards is unsetting that value? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
