You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user tries to register with a password < 8 character a message is displayed :
"password can't be blank" "Password confirmation != password" .... but the real reason was because it have < 8 chars. So I changed my model to have:
validates :password, length: {in: 8..128}
And I succeed to get the following error:
"password can't be blank" "Password confirmation != password" "password have < than 8 chars"
As a user I succeed to register with a password >= 8 chars. I receive a confirmation email, but when I press the confirmation link I get the following error:
ActiveRecord::RecordInvalid (A validação falhou: Password é demasiado pequeno (o mínimo é de 8 caracteres)):
activerecord (4.2.0) lib/active_record/validations.rb:79:in raise_record_invalid' activerecord (4.2.0) lib/active_record/validations.rb:43:insave!'
A validação falhou: Password é demasiado pequeno (o mínimo é de 8 caracteres = The validation failed. Password is too short (the minimum is 8 chars).
What can be wrong ?
The text was updated successfully, but these errors were encountered:
I have my devise configured with :
config.password_length = 8..128
When a user tries to register with a password < 8 character a message is displayed :
"password can't be blank" "Password confirmation != password" .... but the real reason was because it have < 8 chars. So I changed my model to have:
validates :password, length: {in: 8..128}
And I succeed to get the following error:
"password can't be blank" "Password confirmation != password" "password have < than 8 chars"
As a user I succeed to register with a password >= 8 chars. I receive a confirmation email, but when I press the confirmation link I get the following error:
ActiveRecord::RecordInvalid (A validação falhou: Password é demasiado pequeno (o mínimo é de 8 caracteres)):
activerecord (4.2.0) lib/active_record/validations.rb:79:in
raise_record_invalid' activerecord (4.2.0) lib/active_record/validations.rb:43:in
save!'A validação falhou: Password é demasiado pequeno (o mínimo é de 8 caracteres = The validation failed. Password is too short (the minimum is 8 chars).
What can be wrong ?
The text was updated successfully, but these errors were encountered: