#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 [EMAIL PROTECTED]):
in the current implementation, it'll try to authenticate against the db on
every attempt, which i think is wasteful if someone supplies informaiton
that you know could never authorize an account.
there are a ton of better ways to handle authentication validation: if
someone enters in no username, it should mark that as empty and not go
against the db. if someone enters in a 4char password and you have a
minimum of 6 chars, it should say "password is too short". if your
username is must be 8+chars or an email address , it should say as much.
considing how many dozens of logins and passwords people have today, hints
like that help them remember which they should be using.
--
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
-~----------~----~----~----~------~----~------~--~---