Sha256: 35ab7acdc0b162f87a216b8a09e62aa780c7a1a6095b8449593f4528891e34e1

Contents?: true

Size: 599 Bytes

Versions: 7

Compression:

Stored size: 599 Bytes

Contents

# 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`.

``` ruby
c.crypto_provider = Authlogic::CryptoProviders::Sha512
```

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authlogic-4.5.0 UPGRADING.md
authlogic-4.4.3 UPGRADING.md
authlogic-4.4.2 UPGRADING.md
authlogic-4.4.1 UPGRADING.md
authlogic-4.4.0 UPGRADING.md
authlogic-4.3.0 UPGRADING.md
authlogic-4.2.0 UPGRADING.md