bcrypt requires the salt to be over 29 chars

This commit is contained in:
jgeiger 2010-01-22 22:55:48 +08:00 committed by José Valim
parent bc05d28d3f
commit b3fd742aea
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module Devise
apply_schema :email, String, :null => null, :limit => 100
apply_schema :encrypted_password, String, :null => null, :limit => Devise::ENCRYPTORS_LENGTH[encryptor]
apply_schema :password_salt, String, :null => null, :limit => 20
apply_schema :password_salt, String, :null => null, :limit => 30
end
# Creates confirmation_token, confirmed_at and confirmation_sent_at.