Skip to content

Commit

Permalink
fix: link issue
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsajjadkazmii committed Aug 21, 2024
1 parent 42b1a64 commit 55055e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions openedx/core/djangoapps/user_authn/views/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,9 @@ def _track_user_registration(user, profile, params, third_party_provider, regist
'is_year_of_birth_selected': bool(profile.year_of_birth),
'is_education_selected': bool(profile.level_of_education_display),
'is_goal_set': bool(profile.goals),
'total_registration_time': round(float(params.get('total_registration_time', '0'))) or
round(float(params.get('totalRegistrationTime', '0'))),
'total_registration_time': round(
float(params.get('total_registration_time') or params.get('totalRegistrationTime') or 0)
),
'activation_key': registration.activation_key if registration else None,
'host': params.get('host', ''),
'app_name': params.get('app_name', ''),
Expand Down

0 comments on commit 55055e0

Please sign in to comment.