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

Expend the length of the encrypted_password field to 128 to allow storing BCrypt or SHA512 passwords.

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
postmodern 2010-03-31 20:48:25 -07:00 committed by José Valim
parent 1ba525a0e9
commit 27c4280eca

View file

@ -22,7 +22,7 @@ module Devise
end
apply_schema :email, String, :null => null, :default => default
apply_schema :encrypted_password, String, :null => null, :default => default
apply_schema :encrypted_password, String, :null => null, :default => default, :limit => 128
apply_schema :password_salt, String, :null => null, :default => default
end