mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
Send confirmation emails directly, rather than with celery
Whenver bookwyrm has an influx of new users, celery gets delayed and the emails don't get sent out promptly, which causes people to first resend the email multiple times, and then to email me, both of which just create more work and confusion for everyone involved.
This commit is contained in:
parent
43202f5bb7
commit
1c949a5d71
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ def email_confirmation_email(user):
|
|||
data = email_data()
|
||||
data["confirmation_code"] = user.confirmation_code
|
||||
data["confirmation_link"] = user.confirmation_link
|
||||
send_email.delay(user.email, *format_email("confirm", data))
|
||||
send_email(user.email, *format_email("confirm", data))
|
||||
|
||||
|
||||
def invite_email(invite_request):
|
||||
|
|
Loading…
Reference in a new issue