diff --git a/packages/login/src/components/LoginForm/index.tsx b/packages/login/src/components/LoginForm/index.tsx index de0d706369..4983325550 100644 --- a/packages/login/src/components/LoginForm/index.tsx +++ b/packages/login/src/components/LoginForm/index.tsx @@ -283,11 +283,11 @@ const LoginForm = ({ PasswordHash: hash, }); - // if (portals.length === 1) { - // window.open(`${portals[0].portalLink}`, "_self"); + if (portals.length === 1) { + window.open(`${portals[0].portalLink}`, "_self"); - // return; - // } + return; + } const searchParams = new URLSearchParams();