Skip to content

Commit

Permalink
disable private flow
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Dec 12, 2024
1 parent 3c497ac commit 9bf5636
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libs/actions/Session/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,9 @@ function validateUserAndGetAccessiblePolicies(validateCode: string) {
}

function isUserOnPrivateDomain() {
return !!session?.email && !LoginUtils.isEmailPublicDomain(session?.email);
// TODO: Implement this function later, and skip the check for now
// return !!session?.email && !LoginUtils.isEmailPublicDomain(session?.email);
return false;
}

export {
Expand Down

0 comments on commit 9bf5636

Please sign in to comment.