code: def cancel_email_change(self):
          
          if not self.email_new:
              return
  
          self.email_new = None
          self.email_confirmed = True
          self.email_link = None
          self.email_new = None
          self.email_link_expires = None
docs: Cancel email change for new users and roll back data