From: Guillaume Pellerin Date: Fri, 18 Nov 2016 16:32:47 +0000 (+0100) Subject: do not activate users auto X-Git-Tag: 1.1~54 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=48e381a7d34975e65a78efabfb02d5710f3062f7;p=teleforma.git do not activate users auto --- diff --git a/teleforma/management/commands/teleforma-send-subscription-email.py b/teleforma/management/commands/teleforma-send-subscription-email.py index 5011ccac..594805f1 100644 --- a/teleforma/management/commands/teleforma-send-subscription-email.py +++ b/teleforma/management/commands/teleforma-send-subscription-email.py @@ -60,7 +60,7 @@ class Command(BaseCommand): self.email(student) student.confirmation_sent = True student.save() - student.user.is_active = True + # student.user.is_active = True student.user.save() logger.logger.info('email send : ' + student.user.username)