Skip to content

Commit 9fb01d8

Browse files
fix(enterprise-support): lazy-load third_party_auth_context to break circular import
1 parent 54c0331 commit 9fb01d8

File tree

1 file changed

+0
-1
lines changed
  • openedx/features/enterprise_support

1 file changed

+0
-1
lines changed

openedx/features/enterprise_support/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ def get_mfe_context(request, redirect_to, tpa_hint=None):
510510
# Importing third_party_auth_context here to avoid circular import since it imports get_mfe_context
511511
from openedx.core.djangoapps.user_authn.views.utils import third_party_auth_context
512512

513-
514513
ip_address = get_client_ip(request)[0]
515514
country_code = country_code_from_ip(ip_address)
516515
context = third_party_auth_context(request, redirect_to, tpa_hint)

0 commit comments

Comments
 (0)