plataformatec/devise — Issue #1389: config.encryptor bug
Author: elfassy
Created: 2011-10-15 16:12:39+00:00
State: open

I added the following to my devise setup (to make it compatible with legacy authlogic users):

config.stretches = 20
config.encryptor = :authlogic_sha512

Now when i do

User.new(:email => "a@b.com", :password => "password")

The whole process freezes and goes into an endless loop. If i remove the two lines in the setup everything works fine.
Thanks!