Changeset - d5c7b21ff54a
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-06-04 00:28:58
marcin@python-works.com
fixes issue #198 password will require only 3 chars now for login form
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/forms.py
Show inline comments
 
@@ -455,17 +455,17 @@ class LoginForm(formencode.Schema):
 
                             min=1,
 
                             not_empty=True,
 
                             messages={
 
                                       'empty':_('Please enter a login'),
 
                                       'tooShort':_('Enter a value %(min)i characters long or more')}
 
                                'empty':_('Please enter a login'),
 
                                'tooShort':_('Enter a value %(min)i characters long or more')}
 
                            )
 

	
 
    password = UnicodeString(
 
                            strip=True,
 
                            min=6,
 
                            min=3,
 
                            not_empty=True,
 
                            messages={
 
                                      'empty':_('Please enter a password'),
 
                                      'tooShort':_('Enter %(min)i characters or more')}
 
                                'empty':_('Please enter a password'),
 
                                'tooShort':_('Enter %(min)i characters or more')}
 
                                )
 

	
 

	
0 comments (0 inline, 0 general)