Removed confirm email after SSO

This commit is contained in:
Ahtisham Shahid
2020-06-16 14:06:52 +05:00
parent b370745b9b
commit 340e00988f

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",