From 48e381a7d34975e65a78efabfb02d5710f3062f7 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 18 Nov 2016 17:32:47 +0100 Subject: [PATCH] do not activate users auto --- .../management/commands/teleforma-send-subscription-email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5