Sha256: 7f578bb8ea95814c509353d52a63a51cde944aca8af03bca01716ddb18ce92bb

Contents?: true

Size: 922 Bytes

Versions: 4

Compression:

Stored size: 922 Bytes

Contents

require "alchemy/devise/engine"

module Alchemy
  # Devise modules included in +Alchemy::User+ model
  #
  # === Default modules
  #
  #     [
  # .      :database_authenticatable,
  #       :trackable,
  #       :validatable,
  #       :timeoutable,
  #       :recoverable
  # .    ]
  #
  # If you want to add additional modules into the Alchemy user class append
  # them to this collection in an initializer in your app.
  #
  # === Example
  #
  #     # config/initializers/alchemy.rb
  #     Alchemy.devise_modules << :registerable
  #
  # If your app uses an old encryption that needs the +devise-encryptable+ gem
  # you also need to load the devise module.
  #
  #     Alchemy.devise_modules << :encryptable
  #
  def self.devise_modules
    @devise_modules ||= [
      :database_authenticatable,
      :trackable,
      :validatable,
      :timeoutable,
      :recoverable
    ]
  end

  module Devise
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alchemy-devise-7.1.1 lib/alchemy/devise.rb
alchemy-devise-7.1.0 lib/alchemy/devise.rb
alchemy-devise-7.0.0 lib/alchemy/devise.rb
alchemy-devise-6.3.0 lib/alchemy/devise.rb