From 348d55616ee7670f4af012578a553f4cd533568c Mon Sep 17 00:00:00 2001 From: Timofey Boyko Date: Fri, 23 Aug 2024 10:43:00 +0300 Subject: [PATCH] Login: restore commented code --- packages/login/src/components/LoginForm/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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();