From ffea89bd2cb88d6ae3cb495cbb6e614383451908 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_authn/views/auto_auth.py | 2 +- openedx/core/djangoapps/user_authn/views/register.py | 2 +- 3 files changed, 3 insertions(+), 3 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_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")