mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
15 lines
316 B
Ruby
15 lines
316 B
Ruby
|
# base.rb uses this style of require, so maintain usage of it here
|
||
|
require_dependency "#{Rails.root}/app/jobs/regular/user_email.rb"
|
||
|
|
||
|
module Jobs
|
||
|
class ForgotPassword < UserEmail
|
||
|
|
||
|
sidekiq_options queue: 'critical'
|
||
|
|
||
|
def execute(args)
|
||
|
args[:type] = :forgot_password
|
||
|
super(args)
|
||
|
end
|
||
|
end
|
||
|
end
|