From 3314e8514e6a1d7730ce86f99fc722af622a8a5f Mon Sep 17 00:00:00 2001 From: Johan Castiblanco Date: Mon, 22 Jul 2024 10:52:07 -0500 Subject: [PATCH] fix: hotfix generate password --- lms/djangoapps/support/views/manage_user.py | 2 +- openedx/core/djangoapps/user_api/accounts/utils.py | 2 +- openedx/core/djangoapps/user_authn/views/auto_auth.py | 2 +- openedx/core/djangoapps/user_authn/views/register.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lms/djangoapps/support/views/manage_user.py b/lms/djangoapps/support/views/manage_user.py index e29652a905c..b9b61090dfd 100644 --- a/lms/djangoapps/support/views/manage_user.py +++ b/lms/djangoapps/support/views/manage_user.py @@ -18,7 +18,7 @@ from openedx.core.djangoapps.user_api.accounts.serializers import AccountUserSerializer from openedx.core.djangolib.oauth2_retirement_utils import retire_dot_oauth2_models -from edx_django_utils.user import generate_password # lint-amnesty, pylint: disable=wrong-import-order +from eox_nelp.user_authn.utils import generate_password # lint-amnesty, pylint: disable=wrong-import-order class ManageUserSupportView(View): diff --git a/openedx/core/djangoapps/user_api/accounts/utils.py b/openedx/core/djangoapps/user_api/accounts/utils.py index c9c8cf085ba..2295415c587 100644 --- a/openedx/core/djangoapps/user_api/accounts/utils.py +++ b/openedx/core/djangoapps/user_api/accounts/utils.py @@ -13,7 +13,7 @@ from completion.waffle import ENABLE_COMPLETION_TRACKING_SWITCH from django.conf import settings from django.utils.translation import gettext as _ -from edx_django_utils.user import generate_password +from eox_nelp.user_authn.utils import generate_password from social_django.models import UserSocialAuth from common.djangoapps.student.models import AccountRecovery, Registration, get_retired_email_by_email diff --git a/openedx/core/djangoapps/user_authn/views/auto_auth.py b/openedx/core/djangoapps/user_authn/views/auto_auth.py index 324a0c1959d..c30e4143445 100644 --- a/openedx/core/djangoapps/user_authn/views/auto_auth.py +++ b/openedx/core/djangoapps/user_authn/views/auto_auth.py @@ -36,7 +36,7 @@ ) from common.djangoapps.util.json_request import JsonResponse -from edx_django_utils.user import generate_password # lint-amnesty, pylint: disable=wrong-import-order +from eox_nelp.user_authn.utils import generate_password # lint-amnesty, pylint: disable=wrong-import-order def auto_auth(request): # pylint: disable=too-many-statements diff --git a/openedx/core/djangoapps/user_authn/views/register.py b/openedx/core/djangoapps/user_authn/views/register.py index 939f2cca7ec..5f1377c57b1 100644 --- a/openedx/core/djangoapps/user_authn/views/register.py +++ b/openedx/core/djangoapps/user_authn/views/register.py @@ -86,7 +86,7 @@ from common.djangoapps.util.db import outer_atomic from common.djangoapps.util.json_request import JsonResponse -from edx_django_utils.user import generate_password # lint-amnesty, pylint: disable=wrong-import-order +from eox_nelp.user_authn.utils import generate_password # lint-amnesty, pylint: disable=wrong-import-order log = logging.getLogger("edx.student") AUDIT_LOG = logging.getLogger("audit")