Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: hotfix generate password #32

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Collaborator

@OmarIthawi OmarIthawi Jul 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @johanseto. Please check the comment on the original Palm upgrade pull request here:

Another option is to fork the edx_django_utils and create the change there instead of the patch.

Let me know what do you think.



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
Loading