Sha256: b3a5a5f091f06a97670a413fd808efe136944142ece7fc02ea340b3d822cf2bf

Contents?: true

Size: 750 Bytes

Versions: 2

Compression:

Stored size: 750 Bytes

Contents

Janus.config do |config|
  config.contact_email = "contact@some-example-domain.com"

  # DatabaseAuthenticatable
  config.authentication_keys = [:email]

  # bcrypt:
  config.encryptor = :bcrypt
  config.stretches = Rails.env.test? ? 1 : 10
  config.pepper = <%= SecureRandom.hex(64).inspect %>

  # scrypt:
  # config.encryptor = :scrypt
  # config.scrypt_options = { :max_time => 0.25 }

  # Confirmable
  # config.confirmation_key = :confirm_token

  # Rememberable
  # config.remember_for = 1.year
  # config.extend_remember_period = false

  # RemoteAuthenticatable
  # config.remote_authentication_key = :remote_token

  # TokenAuthenticatable
  # config.token_authentication_key = :auth_token
  # self.reusable_authentication_token = true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
janus-0.8.1 lib/generators/templates/janus.rb
janus-0.8.0 lib/generators/templates/janus.rb