From e7f6d1c8f165be2829133f38e01ed30808b3c884 Mon Sep 17 00:00:00 2001 From: Syed Sajjad Hussain Shah <52817156+syedsajjadkazmii@users.noreply.github.com> Date: Wed, 4 Oct 2023 17:08:58 +0500 Subject: [PATCH] fix: null email in identify calls (#33410) --- openedx/core/djangoapps/user_authn/views/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_authn/views/login.py b/openedx/core/djangoapps/user_authn/views/login.py index fa098c7237db..4880e58a433c 100644 --- a/openedx/core/djangoapps/user_authn/views/login.py +++ b/openedx/core/djangoapps/user_authn/views/login.py @@ -344,7 +344,7 @@ def _track_user_login(user, request): segment.identify( user.id, { - 'email': request.POST.get('email'), + 'email': user.email, 'username': user.username }, {