]> git.parisson.com Git - teleforma.git/commitdiff
do not activate users auto
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 18 Nov 2016 16:32:47 +0000 (17:32 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 18 Nov 2016 16:32:47 +0000 (17:32 +0100)
teleforma/management/commands/teleforma-send-subscription-email.py

index 5011ccac6b2a1e441f795e49d6aa147a1db03806..594805f1d8ba9b1d5875cd3896641f9a49cdd0cd 100644 (file)
@@ -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)