Skip to content
Snippets Groups Projects
Unverified Commit 819888ce authored by adeel khan's avatar adeel khan Committed by GitHub
Browse files

Merge pull request #22190 from edx/adeel/prod_834_html_not_formatted

Fix escaping of html tags.
parents 559069d5 b82d1b96
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ def _enforce_password_policy_compliance(request, user):
except password_policy_compliance.NonCompliantPasswordException as e:
send_password_reset_email_for_user(user, request)
# Prevent the login attempt.
raise AuthFailedError(six.text_type(e))
raise AuthFailedError(HTML(six.text_type(e)))
def _generate_not_activated_message(user):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment