diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2011-06-04 00:28:58 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2011-06-04 00:28:58 +0200 |
commit | 55e04d3776d2552e624da2b2029ccdb073da17e7 (patch) | |
tree | 215b56717a3d7f75c6f0d9c381da6c5613c27076 /rhodecode/model/forms.py | |
parent | a6edf3b3207fe6ce7988e0c9846a249309baf3ba (diff) |
fixes issue #198 password will require only 3 chars now for login form
--HG--
branch : beta
Diffstat (limited to 'rhodecode/model/forms.py')
-rw-r--r-- | rhodecode/model/forms.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rhodecode/model/forms.py b/rhodecode/model/forms.py index e310d181..46535285 100644 --- a/rhodecode/model/forms.py +++ b/rhodecode/model/forms.py @@ -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')} ) |