lib/sorcery/initializers/initializer.rb in sorcery-0.4.2 vs lib/sorcery/initializers/initializer.rb in sorcery-0.5.0
- old
+ new
@@ -43,9 +43,10 @@
# user.salt_attribute_name = :salt # change default salt attribute.
# user.stretches = nil # how many times to apply encryption to the password.
# user.encryption_key = nil # encryption key used to encrypt reversible encryptions such as AES256.
# user.custom_encryption_provider = nil # use an external encryption class.
# user.encryption_algorithm = :bcrypt # encryption algorithm name. See 'encryption_algorithm=' for available options.
+ # user.subclasses_inherit_config = false # make this configuration inheritable for subclasses. Useful for ActiveRecord's STI.
# -- user_activation --
# user.activation_state_attribute_name = :activation_state # the attribute name to hold activation state (active/pending).
# user.activation_token_attribute_name = :activation_token # the attribute name to hold activation code (sent by email).
# user.activation_token_expires_at_attribute_name = :activation_token_expires_at # the attribute name to hold activation code expiration date.