1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

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

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.