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
1 changed files with 1 additions and 1 deletions

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