Sha256: 014e3a877cefb404846a852a9df1b536aee2666a9456e88c0a7a42149769c008

Contents?: true

Size: 628 Bytes

Versions: 5

Compression:

Stored size: 628 Bytes

Contents

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

module Devise
  mattr_accessor :enable_banning
  @@enable_banning = true

  mattr_accessor :banning_handler
  @@banning_handler = nil

  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

5 entries across 5 versions & 1 rubygems

Version Path
devise_password_sharing_extension-0.1.4 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.1.3 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.1.1 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.15 lib/devise_password_sharing_extension.rb
devise_password_sharing_extension-0.0.14 lib/devise_password_sharing_extension.rb