Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 578 Bytes

UPGRADING.md

File metadata and controls

20 lines (13 loc) · 578 Bytes

Upgrading Authlogic

Supplemental instructions to complement CHANGELOG.md.

3.4.0

In version 3.4.0, 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 set the original:

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