[Fix]: CR-3731 correct the spelling of the error message on password reset (#27883)

This commit is contained in:
Simon Chen
2021-06-08 11:33:37 -04:00
committed by GitHub
parent 1d1a6b29a6
commit a284b9704c

View File

@@ -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: