Show More
@@ -61,7 +61,8 b' class ValidUsername(formencode.validator' | |||
|
61 | 61 | class ValidPassword(formencode.validators.FancyValidator): |
|
62 | 62 | |
|
63 | 63 | def to_python(self, value, state): |
|
64 | return get_crypt_password(value) | |
|
64 | if value: | |
|
65 | return get_crypt_password(value) | |
|
65 | 66 | |
|
66 | 67 | class ValidAuth(formencode.validators.FancyValidator): |
|
67 | 68 | messages = { |
General Comments 0
You need to be logged in to leave comments.
Login now