Sha256: a3920d0899f5dd9fdfe903a424a326fdefd1547883bae5775f2b25630c5f62a0
Contents?: true
Size: 899 Bytes
Versions: 1
Compression:
Stored size: 899 Bytes
Contents
require 'active_support/time' module Janus module Config mattr_accessor :contact_email # DatabaseAuthenticatable mattr_accessor :authentication_keys, :encryptor, :stretches, :pepper, :scrypt_options self.authentication_keys = [ :email ] self.encryptor = :bcrypt self.stretches = 10 self.pepper = nil self.scrypt_options = { :max_time => 0.25 } # Confirmable mattr_accessor :confirmation_key #,reconfirmable self.confirmation_key = :confirm_token # self.reconfirmable = true # Rememberable mattr_accessor :remember_for, :extend_remember_period #, :remember_across_browsers self.remember_for = 1.year self.extend_remember_period = false # self.remember_across_browsers = false # RemoteAuthenticatable mattr_accessor :remote_authentication_key self.remote_authentication_key = :remote_token end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
janus-0.6.0 | lib/janus/config.rb |