Skip to content

Commit

Permalink
Fix: magic code page is displayed if we open the link in a separate b…
Browse files Browse the repository at this point in the history
…rowser, navigation was done after clicking just sign in here link
  • Loading branch information
rayane-djouah committed Feb 23, 2024
1 parent 3bf82b5 commit 4ba040b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ValidateLoginPage/index.website.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function ValidateLoginPage({
}
Session.initAutoAuthState(autoAuthState);

if (isSignedIn || !login) {
if (isSignedIn || (!login && !exitTo)) {
if (exitTo) {
Session.handleExitToNavigation(exitTo);
}
Expand Down

0 comments on commit 4ba040b

Please sign in to comment.