From 4ba040bb00e30c39ee6232992ec6a6a16a283b94 Mon Sep 17 00:00:00 2001 From: rayane-djouah <77965000+rayane-djouah@users.noreply.github.com> Date: Fri, 23 Feb 2024 19:43:21 +0100 Subject: [PATCH] Fix: magic code page is displayed if we open the link in a separate browser, navigation was done after clicking just sign in here link --- src/pages/ValidateLoginPage/index.website.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ValidateLoginPage/index.website.tsx b/src/pages/ValidateLoginPage/index.website.tsx index 326112684817..866b061d964f 100644 --- a/src/pages/ValidateLoginPage/index.website.tsx +++ b/src/pages/ValidateLoginPage/index.website.tsx @@ -34,7 +34,7 @@ function ValidateLoginPage({ } Session.initAutoAuthState(autoAuthState); - if (isSignedIn || !login) { + if (isSignedIn || (!login && !exitTo)) { if (exitTo) { Session.handleExitToNavigation(exitTo); }