From 80b14b304680344ad2c112f534e286bdb30adee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodor=20M=C3=A1t=C3=A9?= <bodor.mate@kszk.bme.hu> Date: Fri, 18 Jan 2019 15:58:34 +0100 Subject: [PATCH] First login send email with gmail test account --- src/account/auth_pipeline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/account/auth_pipeline.py b/src/account/auth_pipeline.py index 3735b3a..4a9cfa1 100644 --- a/src/account/auth_pipeline.py +++ b/src/account/auth_pipeline.py @@ -11,4 +11,5 @@ def create_profile(backend, user, response, *args, **kwargs): except exceptions.ObjectDoesNotExist: models.Profile.objects.create(user=user) if user.email is not None: - send_mail('TESZT', 'Attiss meleg!4!!', 'noreply@devteam.sch.bme.hu', [user.email, ]) + send_mail('TESZT', 'Udvozlunk a kszkepzesen, ne felejtsd el kitolteni a profilod.', + 'noreply@devteam.sch.bme.hu', [user.email, ]) -- GitLab