Merge pull request #15231 from edx/shrlyhe/ENT-385
ENT-385: change error msg for confirm email
This commit is contained in:
1
AUTHORS
1
AUTHORS
@@ -281,3 +281,4 @@ Brian Mesick <bmesick@edx.org>
|
||||
Jeff LaJoie <jlajoie@edx.org>
|
||||
Ivan Ivić <iivic@edx.org>
|
||||
Brandon Baker <bcbaker@wesleyan.edu>
|
||||
Shirley He <she@edx.org>
|
||||
|
||||
@@ -1202,7 +1202,7 @@ class RegistrationViewTest(ThirdPartyAuthTestMixin, UserAPITestCase):
|
||||
"required": True,
|
||||
"label": "Confirm Email",
|
||||
"errorMessages": {
|
||||
"required": "Please confirm your email address.",
|
||||
"required": "The email addresses do not match.",
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
@@ -428,7 +428,7 @@ class RegistrationView(APIView):
|
||||
# Translators: This label appears above a field on the registration form
|
||||
# meant to confirm the user's email address.
|
||||
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(
|
||||
"confirm_email",
|
||||
|
||||
Reference in New Issue
Block a user