Add context to the SessionsController which inherits the Devise::SessionsController
The jobs that currently could come from actions triggered through devise. Since the SessionsController
inherits the Devise::SessionsController
instead of our ApplicationController
we don't have the basic context with caller_id
.
This controller could schedule emails (ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper
) and system hooks for failed logins (WebHookWorker
).