From a284b9704cd09b2b900b7990bce46154d26d18b3 Mon Sep 17 00:00:00 2001 From: Simon Chen Date: Tue, 8 Jun 2021 11:33:37 -0400 Subject: [PATCH] [Fix]: CR-3731 correct the spelling of the error message on password reset (#27883) --- openedx/core/djangoapps/user_authn/views/password_reset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openedx/core/djangoapps/user_authn/views/password_reset.py b/openedx/core/djangoapps/user_authn/views/password_reset.py index 4269d005eb..48e9601091 100644 --- a/openedx/core/djangoapps/user_authn/views/password_reset.py +++ b/openedx/core/djangoapps/user_authn/views/password_reset.py @@ -640,9 +640,9 @@ def password_change_request_handler(request): ) ace.send(msg) except errors.UserAPIInternalError as err: - log.exception('Error occured during password change for user {email}: {error}' + log.exception('Error occurred during password change for user {email}: {error}' .format(email=email, error=err)) - return HttpResponse(_("Some error occured during password change. Please try again"), status=500) + return HttpResponse(_("Some error occurred during password change. Please try again"), status=500) return HttpResponse(status=200) else: