Module: Datadog::AppSec::Contrib::Devise::Patcher::RememberablePatch

Defined in:
lib/datadog/appsec/contrib/devise/patcher/rememberable_patch.rb

Overview

To avoid tracking new sessions that are created by Rememberable strategy as Login Success events.

Instance Method Summary collapse

Instance Method Details

#validate(*args) ⇒ Object



11
12
13
14
15
# File 'lib/datadog/appsec/contrib/devise/patcher/rememberable_patch.rb', line 11

def validate(*args)
  @_datadog_skip_track_login_event = true

  super
end