Exception: Authlogic::NilCryptoProvider

Inherits:
InvalidCryptoProvider show all
Defined in:
lib/authlogic/errors.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#messageObject



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/authlogic/errors.rb', line 14

def message
  "    In version 5, Authlogic used SCrypt by default. As of version 6, there\n    is no default. We still recommend SCrypt. If you previously relied on\n    this default, then, in your User model (or equivalent), please set the\n    following:\n\n        acts_as_authentic do |c|\n          c.crypto_provider = ::Authlogic::CryptoProviders::SCrypt\n        end\n\n    Furthermore, the authlogic gem no longer depends on the scrypt gem. In\n    your Gemfile, please add scrypt.\n\n        gem \"scrypt\", \"~> 3.0\"\n\n    We have made this change in Authlogic 6 so that users of other crypto\n    providers no longer need to install the scrypt gem.\n  EOS\nend\n"