Hi,

I have a problem with two things in registration form.

1. Definition for password field in database looks as follows:

db.auth_user.password.requires = [IS_STRONG(min=8 ,error_message='Your
password is too short!'), CRYPT(auth.settings.hmac_key)]

But the form is not accepting passwords. Each time I want to send a
form it shows me error message: 'Your password is too short', even if
the password is much longer than required 8 signs.
After removing 'min=8' parameter I'm able to save my form in database.

2. Although I have provided an encryption setting:

auth.settings.hmac_key='sha512:something

password is not encrypted in the database.

Can you help me and tell me what I'm doing wrong? Am I missing some
parameters?

Reply via email to