close Warning: Can't synchronize with repository "(default)" (/project/cl-weblocks/svn does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 16 years ago

Last modified 16 years ago

#89 new enhancement

Add MIN-LENGTH to PASSWORD parser; enforce MAX-LENGTH on the server side

Reported by: lpolzer Owned by: Slava Akhmechet
Priority: low Milestone:
Component: weblocks Version:
Keywords: password, min-length, max-length Cc:

Description


Change History (1)

comment:1 Changed 16 years ago by Slava Akhmechet

min-length should probably be specific to input-presentation/text-parser, not just passwords. Also, max-length should be enforced for all input fields as well, as it isn't specific to passwords.

Once min-length is implemented for input fields, it's probably a good idea to set password min-length to some reasonable configurable default (*password-min-length*).

It looks like max-length is appropriate for both presentations and parsers, a situation I didn't think of. They should probably be derived from a common subclass then, unless we want to specify max-length twice (once in the parser, and once in the presentation).

Note: See TracTickets for help on using tickets.