lib/authlogic/errors.rb in authlogic-6.0.0 vs lib/authlogic/errors.rb in authlogic-6.1.0
- old
+ new
@@ -16,10 +16,10 @@
In version 5, Authlogic used SCrypt by default. As of version 6, there
is no default. We still recommend SCrypt. If you previously relied on
this default, then, in your User model (or equivalent), please set the
following:
- acts_as_authentic do |config|
+ acts_as_authentic do |c|
c.crypto_provider = ::Authlogic::CryptoProviders::SCrypt
end
Furthermore, the authlogic gem no longer depends on the scrypt gem. In
your Gemfile, please add scrypt.