Skip to content

Commit 54d0b39

Browse files
committed
recovery code input should be password
1 parent e7cb0d6 commit 54d0b39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/webapp/app/routes/login.mfa/route.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ export async function action({ request }: ActionFunctionArgs) {
112112
headers: { "Set-Cookie": await commitSession(session) },
113113
});
114114
}
115-
116115
// Recovery code verified - complete the login
117116
return await completeLogin(request, session, pendingUserId);
118117

@@ -195,7 +194,7 @@ export default function LoginMfaPage() {
195194
<Fieldset className="flex w-full flex-col items-center gap-y-2">
196195
<InputGroup>
197196
<Input
198-
type="text"
197+
type="password"
199198
name="recoveryCode"
200199
spellCheck={false}
201200
placeholder="Enter recovery code"

0 commit comments

Comments
 (0)