Sha256: 3bab7e0ca38cc7054691cefed4cf8ed0e6c93725dd02fd93bd3d7f32426bcb5a

Contents?: true

Size: 920 Bytes

Versions: 16

Compression:

Stored size: 920 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

16 entries across 16 versions & 1 rubygems

Version Path
alchemy-devise-6.2.0 lib/alchemy/devise.rb
alchemy-devise-6.1.0 lib/alchemy/devise.rb
alchemy-devise-6.0.0 lib/alchemy/devise.rb
alchemy-devise-5.1.0 lib/alchemy/devise.rb
alchemy-devise-5.0.1 lib/alchemy/devise.rb
alchemy-devise-5.0.0 lib/alchemy/devise.rb
alchemy-devise-4.6.0 lib/alchemy/devise.rb
alchemy-devise-4.5.0 lib/alchemy/devise.rb
alchemy-devise-4.4.0 lib/alchemy/devise.rb
alchemy-devise-4.3.1 lib/alchemy/devise.rb
alchemy-devise-4.3.0 lib/alchemy/devise.rb
alchemy-devise-4.2.1 lib/alchemy/devise.rb
alchemy-devise-4.2.0 lib/alchemy/devise.rb
alchemy-devise-4.1.0 lib/alchemy/devise.rb
alchemy-devise-4.1.0.beta lib/alchemy/devise.rb
alchemy-devise-4.0.0 lib/alchemy/devise.rb