Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deliver password reset email inline (#882)
This commit changes the delivery behavior of the password reset email: Before, it queued the email for later delivery. Now, it delivers the email immediately. The queue can be backed up, have no running workers, or other issues. These issues can cause delay or no email delivery, leading the user to abandon the site or contact support. In the case of no delivery, there is also no error trace. Inlining delivery also lets the programmer handle error cases such as the email delivery service experiencing downtime or degraded service or the email delivery service responding that it can't deliver the email (such as a badly formatted or non-existent email address). Handling these errors can help the user fix their own typos, etc. Lastly, a project that integrates Clearance no longer needs to have a background job process in their project. https://api.rubyonrails.org/classes/ActionMailer/MessageDelivery.html#method-i-deliver_now
- Loading branch information