Commit e61f8b62 by Shirley He

ENT-385 fix confirmation error message

parent 0d9146a2
...@@ -281,3 +281,4 @@ Brian Mesick <bmesick@edx.org> ...@@ -281,3 +281,4 @@ Brian Mesick <bmesick@edx.org>
Jeff LaJoie <jlajoie@edx.org> Jeff LaJoie <jlajoie@edx.org>
Ivan Ivić <iivic@edx.org> Ivan Ivić <iivic@edx.org>
Brandon Baker <bcbaker@wesleyan.edu> Brandon Baker <bcbaker@wesleyan.edu>
Shirley He <she@edx.org>
...@@ -1202,7 +1202,7 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase): ...@@ -1202,7 +1202,7 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
"required": True, "required": True,
"label": "Confirm Email", "label": "Confirm Email",
"errorMessages": { "errorMessages": {
"required": "Please confirm your email address.", "required": "The email addresses do not match.",
} }
} }
) )
......
...@@ -428,7 +428,7 @@ class RegistrationView(APIView): ...@@ -428,7 +428,7 @@ class RegistrationView(APIView):
# Translators: This label appears above a field on the registration form # Translators: This label appears above a field on the registration form
# meant to confirm the user's email address. # meant to confirm the user's email address.
email_label = _(u"Confirm Email") email_label = _(u"Confirm Email")
error_msg = _(u"Please confirm your email address.") error_msg = _(u"The email addresses do not match.")
form_desc.add_field( form_desc.add_field(
"confirm_email", "confirm_email",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment