From 9bf56362f04d6a13ac85c2288e9910b7a35ea647 Mon Sep 17 00:00:00 2001 From: Sibtain Ali Date: Fri, 13 Dec 2024 04:49:51 +0500 Subject: [PATCH] disable private flow --- src/libs/actions/Session/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index 2c774a6df2c..c448da5d56d 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -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 {