On 1/10/07, Jose Soares <[EMAIL PROTECTED]> wrote:
> without the try: except:
> it will displays KeyError 'username', but....
>
> is there a reason to return None instead of an significant message?
>
I believe it is all related to the fact that an Identity of None means
it is a annonimous user therefore if it fails to get the autentication
info from the form it will assume anon user.

I do agree is not very polite, any suggestions of a better implementation?

by the way this seems more like a post to the trunk list.

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