Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 599 Bytes

UPGRADING.md

File metadata and controls

22 lines (15 loc) · 599 Bytes

Upgrading Authlogic

Supplemental instructions to complement CHANGELOG.md.

3.4.0

In version 3.4.0, released 2014-03-03, the default crypto_provider was changed from Sha512 to SCrypt.

If you never set a crypto_provider and are upgrading, your passwords will break unless you specify Sha512.

c.crypto_provider = Authlogic::CryptoProviders::Sha512

And if you want to automatically upgrade from Sha512 to SCrypt as users login:

c.transition_from_crypto_providers = [Authlogic::CryptoProviders::Sha512]
c.crypto_provider = Authlogic::CryptoProviders::SCrypt