Skip to content

Commit d192319

Browse files
authored
Merge pull request #81437 from Expensify/revert-78261-fix/77410
[HOLD] Revert "fix: Signing with magic link doesn't lead to 2FA page for account with 2FA enabled"
2 parents 7e89334 + 6ca4bd0 commit d192319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/signin/SignInPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function getRenderOptions({
102102

103103
// True, if the user has SAML required, and we haven't yet initiated SAML for their account
104104
const shouldInitiateSAMLLogin = hasAccount && hasLogin && isSAMLRequired && !hasInitiatedSAMLLogin && !!account.isLoading;
105-
const shouldShowChooseSSOOrMagicCode = hasAccount && hasLogin && isSAMLEnabled && !isSAMLRequired && !isUsingMagicCode && !hasValidateCode;
105+
const shouldShowChooseSSOOrMagicCode = hasAccount && hasLogin && isSAMLEnabled && !isSAMLRequired && !isUsingMagicCode;
106106

107107
// SAML required users may reload the login page after having already entered their login details, in which
108108
// case we want to clear their sign in data so they don't end up in an infinite loop redirecting back to their

0 commit comments

Comments
 (0)