##// END OF EJS Templates
fixes issue #198 password will require only 3 chars now for login form
marcink -
r1357:d5c7b21f beta
parent child Browse files
Show More
@@ -455,17 +455,17 b' class LoginForm(formencode.Schema):'
455 min=1,
455 min=1,
456 not_empty=True,
456 not_empty=True,
457 messages={
457 messages={
458 'empty':_('Please enter a login'),
458 'empty':_('Please enter a login'),
459 'tooShort':_('Enter a value %(min)i characters long or more')}
459 'tooShort':_('Enter a value %(min)i characters long or more')}
460 )
460 )
461
461
462 password = UnicodeString(
462 password = UnicodeString(
463 strip=True,
463 strip=True,
464 min=6,
464 min=3,
465 not_empty=True,
465 not_empty=True,
466 messages={
466 messages={
467 'empty':_('Please enter a password'),
467 'empty':_('Please enter a password'),
468 'tooShort':_('Enter %(min)i characters or more')}
468 'tooShort':_('Enter %(min)i characters or more')}
469 )
469 )
470
470
471
471
General Comments 0
You need to be logged in to leave comments. Login now