mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
revert PR #2412
This commit is contained in:
@@ -43,11 +43,6 @@ export const useNavigateToSelectOrganization = () => {
|
||||
await navigateUserToOrg(router, config.defaultAuthOrgId);
|
||||
}
|
||||
|
||||
const localOrgId = localStorage.getItem("orgData.id")
|
||||
if(!cliCallbackPort && localOrgId != null){
|
||||
await navigateUserToOrg(router, localOrgId);
|
||||
}
|
||||
|
||||
queryClient.invalidateQueries(userKeys.getUser);
|
||||
let redirectTo = "/login/select-organization";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user