Updated membership logic for SAML auth

This commit is contained in:
Tuan Dang
2023-07-31 17:36:42 +07:00
parent 59ebe0c22e
commit b78150e78d
4 changed files with 43 additions and 14 deletions
@@ -125,6 +125,7 @@ const attemptLogin = async (
// because this function is about logging the user in
// and not initializing the login details
const userOrgs = await getOrganizations();
const orgId = userOrgs[0]._id;
localStorage.setItem("orgData.id", orgId);