1

I would like to know if there is an automated way to trigger the functionality of email confirmation on django-allauth on email update.

When an (already confirmed) user updates their email, I would like an email to be sent to the user to confirm that they own the address. I found that a signal exists,

allauth.account.signals.email_changed(request, user, from_email_address, to_email_address)

Sent when a primary email address has been changed.

I am not sure if the mechanism is already bundled or if i need to implement in a similar manner like the answer i found in here.

Community
  • 1
  • 1

1 Answers1

3

This is out-of-the-box functionality. There is no need to hook up to signals and implement this yourself. Simply point your users to /accounts/email/. When they add an email address the verification email is sent

pennersr
  • 6,306
  • 1
  • 30
  • 37