feat(api): changed login response
This commit is contained in:
parent
f11d41ce91
commit
d9dcdf68d5
1 changed files with 2 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ def login():
|
|||
"teamMember": int(environ.get("numberOfSeats", 0)),
|
||||
"projects": -1,
|
||||
"metadata": metadata.get_remaining_metadata_with_count(tenant_id)},
|
||||
# **license.get_status(tenant_id),
|
||||
**license.get_status(tenant_id),
|
||||
"smtp": environ["EMAIL_HOST"] is not None and len(environ["EMAIL_HOST"]) > 0,
|
||||
"saml2": SAML2_helper.is_saml2_available(),
|
||||
"iceServers": assist.get_ice_servers()
|
||||
|
|
@ -54,8 +54,7 @@ def login():
|
|||
'jwt': r.pop('jwt'),
|
||||
'data': {
|
||||
"user": r,
|
||||
"client": c,
|
||||
**license.get_status(tenant_id),
|
||||
"client": c
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue