diff --git a/libs/tup-components/src/mfa/MfaSelection.tsx b/libs/tup-components/src/mfa/MfaSelection.tsx index b07a6a9af..8ca00daf8 100644 --- a/libs/tup-components/src/mfa/MfaSelection.tsx +++ b/libs/tup-components/src/mfa/MfaSelection.tsx @@ -5,17 +5,6 @@ import { Link, Navigate } from 'react-router-dom'; import { useMfa } from '@tacc/tup-hooks'; const MfaSelector: React.FC = () => { - const { data } = useMfa(); - - // If users have already generated a code with one method, - // they will need to complete registration with that method. - if (data?.token && data?.token.tokentype === 'sms') { - return ; - } - if (data?.token && data?.token.tokentype === 'totp') { - return ; - } - return (
Select whether you want to use an MFA token app or SMS texting for diff --git a/libs/tup-components/src/mfa/MfaValidationPanel.tsx b/libs/tup-components/src/mfa/MfaValidationPanel.tsx index 9dcab07b9..5c393f898 100644 --- a/libs/tup-components/src/mfa/MfaValidationPanel.tsx +++ b/libs/tup-components/src/mfa/MfaValidationPanel.tsx @@ -14,8 +14,8 @@ const MfaValidationPanel: React.FC<{ tokenType: 'totp' | 'sms' }> = ({ }; const pairingMessage = { - sms: '2. Enter the token shown in the app to continue the pairing.', - totp: '2. Enter the token sent to your phone number.', + totp: '2. Enter the token shown in the app to continue the pairing.', + sms: '2. Enter the token sent to your phone number.', }; return (