Merge pull request #24228 from edx/ahtisham/PROD-1679

Removed confirm email after SSO
This commit is contained in:
Ahtisham Shahid
2020-06-17 12:25:26 +05:00
committed by GitHub

View File

@@ -1087,6 +1087,17 @@ class RegistrationFormFactory(object):
instructions="",
)
# Hide the confirm_email field
form_desc.override_field_properties(
"confirm_email",
default="",
field_type="hidden",
required=False,
label="",
instructions="",
restrictions={}
)
# Hide the password field
form_desc.override_field_properties(
"password",