Sha256: 76b56310a04ba007b3b3d38272329a011aff54118e9fa22ab1f7cbfa9885148f

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

# Update all standard tracked stats at each authentication.
Authenticate.lifecycle.after_authentication name: 'trackable' do |user, session, options|
  if user.respond_to?(:update_tracked_fields!)
    user.update_tracked_fields!(session.request)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authenticate-0.2.0 lib/authenticate/callbacks/trackable.rb