mirror of
https://github.com/neocities/neocities.git
synced 2025-08-04 00:31:59 +02:00
fixes to password reset
This commit is contained in:
parent
82195a9cb8
commit
6245319bc1
2 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
|||
class EmailWorker
|
||||
include Sidekiq::Worker
|
||||
sidekiq_options queue: :emails, retry: 10, backtrace: true
|
||||
|
||||
def perform(args={})
|
||||
Mail.deliver do
|
||||
from args[:from]
|
||||
to args[:to]
|
||||
subject args[:subject]
|
||||
body args[:body]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue