Skip to content

Commit

Permalink
Merge pull request #10720 from uditijmehta/temp-sync-email-debug
Browse files Browse the repository at this point in the history
Revert resend confirmation to synchronous version
  • Loading branch information
uditijmehta authored Aug 26, 2024
2 parents 0e97823 + 1616b7e commit 14216c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,7 @@ def resend_confirmation_post(auth):
if user:
if throttle_period_expired(user.email_last_sent, settings.SEND_EMAIL_THROTTLE):
try:
send_confirm_email_async(user, clean_email, renew=True)
send_confirm_email(user, clean_email, renew=True)
except KeyError:
# already confirmed, redirect to dashboard
status_message = f'This email {clean_email} has already been confirmed.'
Expand Down

0 comments on commit 14216c1

Please sign in to comment.