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 }, {