1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-21 11:18:23 +02:00

Create and join teams forms

This commit is contained in:
Yohann D'ANELLO
2020-09-23 23:20:44 +02:00
parent 369c9e2fa2
commit cce3a0a7df
7 changed files with 69 additions and 13 deletions

View File

@ -26,10 +26,6 @@ class Registration(PolymorphicModel):
verbose_name=_("email confirmed"),
)
def save(self, *args, **kwargs):
self.send_email_validation_link()
return super().save(*args, **kwargs)
def send_email_validation_link(self):
subject = "[Corres2math] " + str(_("Activate your Correspondances account"))
token = email_validation_token.make_token(self.user)