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 |
|
|
458 | 'empty':_('Please enter a login'), | |
459 |
|
|
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= |
|
464 | min=3, | |
465 | not_empty=True, |
|
465 | not_empty=True, | |
466 | messages={ |
|
466 | messages={ | |
467 |
|
|
467 | 'empty':_('Please enter a password'), | |
468 |
|
|
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