Sha256: 7ffffc3ba28b69b1398ce6726fbf3a97ca929278c127c39fd0dd04747d645ae8
Contents?: true
Size: 956 Bytes
Versions: 4
Compression:
Stored size: 956 Bytes
Contents
require 'janus' Janus.config do |config| config.contact_email = "contact@some-example-domain.com" # DatabaseAuthenticatable config.authentication_keys = [:email] config.encryptor = :bcrypt config.stretches = 10 if Rails.application.respond_to?(:secrets) config.pepper = Rails.application.secrets[:secret_pepper] else config.pepper = "db5ef161873f4b4cd966ff042c448282e8243a0a4e090347370360796ecc769f384d898badda1881bc7ed4483f20f6809b39a54f6671cc35cda18bfe554cd8e0" end # 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 = :auth_token # TokenAuthenticatable # config.token_authentication_key = :auth_token # config.reusable_authentication_token = true config.token_authentication_valid_for = 1.hour end
Version data entries
4 entries across 4 versions & 1 rubygems