#831: Add form validation for identity_from_login
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0b1
Component: Identity | Version: 0.9a5
Severity: normal | Resolution:
Keywords: |
--------------------------------+-------------------------------------------
Comment (by alberto):
The function call to atempt login takes place in Identity's CP filter
which is "outside" all the validation/error_handling done by decorators.
I'm sure you could hack on this filter to do manual validation using a
Schema but you'd have to take care to prepopulate
CP.request.valdation_errors with values for the login form (which you'd
have to implement with widgets) to display. Tak a loog at
turbogears.controllers.validate to see ow it's done.
Just for the record, which kind of extra validation would you like to
perform on the user_name, password tuple? Isn't "authorized" or "non-
authorized" enough?
Alberto
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/831>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---