ahoy
ahoy copied to clipboard
Call `ahoy.reset` during Warden `before_logout` hook
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.