registration: Collect organization type on sign-up.

This commit is contained in:
Eeshan Garg
2021-06-24 15:35:06 -02:30
committed by Tim Abbott
parent 43f3f9221d
commit faa695e86d
11 changed files with 168 additions and 15 deletions

View File

@@ -627,6 +627,7 @@ Output:
default_stream_groups: Sequence[str] = [],
source_realm_id: str = "",
key: Optional[str] = None,
realm_type: Optional[int] = Realm.ORG_TYPES["business"]["id"],
**kwargs: Any,
) -> HttpResponse:
"""
@@ -643,6 +644,7 @@ Output:
"full_name": full_name,
"realm_name": realm_name,
"realm_subdomain": realm_subdomain,
"realm_type": realm_type,
"key": key if key is not None else find_key_by_email(email),
"timezone": timezone,
"terms": True,