Skip to content

Commit

Permalink
call updateOrganizationType window function
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Oct 28, 2023
1 parent cff136f commit c253be5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/console/src/features/authentication/hooks/use-sign-in.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ const useSignIn = (): UseSignInInterface => {
orgType = OrganizationType.TENANT;
}

// TODO: Remove this once the hasRequiredScopes() function is moved as a hook.
window["AppUtils"].updateOrganizationType(orgType);

dispatch(setOrganizationType(orgType));
dispatch(setUserOrganizationId(userOrganizationId));

Expand Down

0 comments on commit c253be5

Please sign in to comment.