ahoy icon indicating copy to clipboard operation
ahoy copied to clipboard

Call `ahoy.reset` during Warden `before_logout` hook

Open seanpdoyle opened this issue 1 year ago • 0 comments

In addition to the after_set_user hook, the Warden::Manager also supports a before_logout hook.

This commit integrates with that hook to call ahoy.reset so that subsequent visits will be anonymous, and subsequent authenticated sessions will create a new Visit.

seanpdoyle avatar Jan 18 '24 18:01 seanpdoyle