lib/authtrail.rb in authtrail-0.3.1 vs lib/authtrail.rb in authtrail-0.4.0
- old
+ new
@@ -1,7 +1,6 @@
# dependencies
-require "geocoder"
require "warden"
# modules
require "auth_trail/engine"
require "auth_trail/manager"
@@ -9,10 +8,10 @@
module AuthTrail
class << self
attr_accessor :exclude_method, :geocode, :track_method, :identity_method, :job_queue, :transform_method
end
- self.geocode = true
+ self.geocode = false
self.identity_method = lambda do |request, opts, user|
if user
user.try(:email)
else
scope = opts[:scope]