mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 04:13:44 +08: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
|