lib/devise.rb in devise-0.4.0 vs lib/devise.rb in devise-0.4.1
- old
+ new
@@ -9,9 +9,12 @@
}.freeze
STRATEGIES = [:rememberable, :authenticatable].freeze
TRUE_VALUES = [true, 1, '1', 't', 'T', 'true', 'TRUE'].freeze
+ # Models configuration
+ mattr_accessor :pepper, :stretches, :remember_for, :confirm_within
+
class << self
# Default way to setup Devise. Run script/generate devise_install to create
# a fresh initializer with all configuration values.
def setup
yield self