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:
parent
bc05d28d3f
commit
b3fd742aea
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue