Glauco wrote: > I think this is an error and not a warning beacuse if this happens you > can't log in... > > the try except, actually catch only generic KeyError, so you can return > a generic message.
I think a generic message is enough, since there are only three fields. But this can also happen if somebody tries to login with a remote script (e.g. spamming attempt). Not sure if a warning or an error should be written to the log in such a case. Opinions? -- Chris --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

