Sha256: abe57649a5e27f39414ea40c2d0cbbaee5e138df9b22fac36d684c8776b55d00

Contents?: true

Size: 513 Bytes

Versions: 12

Compression:

Stored size: 513 Bytes

Contents

require 'geoip'
require 'devise'
require 'devise_password_sharing_extension/schema'
require 'devise_password_sharing_extension/rails'

module Devise
  mattr_accessor :enable_banning
  @@enable_banning = true

  mattr_accessor :geoip_database
  @@geoip_database = '/var/tmp/geoip.dat'

  mattr_accessor :time_frame
  @@time_frame = 2.hour

  mattr_accessor :number_of_cities
  @@number_of_cities = 10
end

Devise.add_module(:password_sharing, :model => 'devise_password_sharing_extension/models/password_sharing')

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
devise_password_sharing_extension-0.0.13 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.12 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.11 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.10 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.9 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.8 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.7 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.6 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.5 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.4 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.2 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.1 lib/devise_password_sharing_extension.rb