Skip to content

Commit

Permalink
Remove user arg from MyMailUtil.send_mail example (pallets-eco#769)
Browse files Browse the repository at this point in the history
The `user` arg was removed from `MailUtil.send_mail` in pallets-eco#690.

Co-authored-by: Chris Wagner <jwag.wagner@gmail.com>
  • Loading branch information
gg and jwag956 authored Mar 8, 2023
1 parent 5d5ea93 commit da2806a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/customizing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ This is supported by providing your own implementation of the :class:`.MailUtil`
from flask_security import MailUtil
class MyMailUtil(MailUtil):

def send_mail(self, template, subject, recipient, sender, body, html, user, **kwargs):
def send_mail(self, template, subject, recipient, sender, body, html, **kwargs):
send_flask_mail.delay(
subject=subject,
from_email=sender,
Expand Down

0 comments on commit da2806a

Please sign in to comment.