Skip to content

Commit

Permalink
fix: hotfix generate password
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Jul 22, 2024
1 parent b657b30 commit 3314e85
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lms/djangoapps/support/views/manage_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/user_api/accounts/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/user_authn/views/auto_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion openedx/core/djangoapps/user_authn/views/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 3314e85

Please sign in to comment.