A couple of pointers: - turbogears.identity.visitor.IdentityVisitPlugin.identity_from_form is where the validation occurs from the form entry. - turbogears.identity.exceptions contains a function set_identity_errors where you can set a custom error. - quickstarted projects have a controller object for /login
In general terms, I think you would need to add logic to identity_from_form to insert a custom error if the credentials aren't correct, check for that error in the login controller, and display the appropriate message. I think set_identity_errors will need to be reworked a bit so it doesn't overwrite any errors that already exist in cherrypy.request.identity_errors. There is a ticket for this issue, so if you work up something that may be useful to others, you may want to submit a patch. http://trac.turbogears.org/turbogears/ticket/616 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

