jose wrote:
> I have this errore when I try to access to identity.current.user.user_id.
>   
All of a sudden? What if there is no current.user and its value is None?
I am sure you decorated your controller with the proper
@identity.require, didn't you?

> If session is terminated I expect that it ask  me the authentication 
> again instead of raise this error.
>   
_If_ you need to avoid using the proper decorator, note that the login
page is diplayed in the IdentityFailure exception handler. Here you have
a TypeError instead.



--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to