plataformatec/devise — Issue #1581: BCrypt being used instead of AuthlogicSha512
Author: freelancing-god
Created: 2012-01-19 04:04:39+00:00
State: open

I've got a model that I've brought over from Authlogic, but even though the encryptor is set to :authlogic_sha512, having stretches set to 20 (as recommended in several places that talk about migrating from Authlogic to Devise) slows things down dramatically - saving a model instance with a new password takes over a minute.

As it turns out, BCrypt is still being used - not quite sure why. My model's `devise` call looks like this:

devise :database_authenticatable, :recoverable, :rememberable, :trackable,
:validatable, :encryptable

Any clues for what I'm doing wrong would be appreciated. I've been using 1.5.2, but upgrading to 1.5.3 doesn't change anything.