registration: Remove organization type selection in realm creation.

This commit is contained in:
Jack Zhang
2017-06-26 15:07:42 -07:00
committed by Tim Abbott
parent 7f96b3ef2f
commit e915321f89
5 changed files with 8 additions and 53 deletions

View File

@@ -58,9 +58,6 @@ class RegistrationForm(forms.Form):
password = forms.CharField(widget=forms.PasswordInput, max_length=MAX_PASSWORD_LENGTH,
required=False)
realm_subdomain = forms.CharField(max_length=Realm.MAX_REALM_SUBDOMAIN_LENGTH, required=False)
realm_org_type = forms.ChoiceField(((Realm.COMMUNITY, 'Community'),
(Realm.CORPORATE, 'Corporate')),
initial=Realm.CORPORATE, required=False)
def __init__(self, *args, **kwargs):
# type: (*Any, **Any) -> None