feat: passkey recover page
This commit is contained in:
parent
267bd56285
commit
d0a73d729d
1 changed files with 19 additions and 0 deletions
19
web/apps/accounts/src/pages/passkeys/flow/Recover.tsx
Normal file
19
web/apps/accounts/src/pages/passkeys/flow/Recover.tsx
Normal file
|
@ -0,0 +1,19 @@
|
|||
import { TwoFactorType } from "@ente/accounts/constants/twofactor";
|
||||
import RecoverPage from "@ente/accounts/pages/recover";
|
||||
import { APPS } from "@ente/shared/apps/constants";
|
||||
import { useRouter } from "next/router";
|
||||
import { AppContext } from "pages/_app";
|
||||
import { useContext } from "react";
|
||||
|
||||
export default function Recover() {
|
||||
const appContext = useContext(AppContext);
|
||||
const router = useRouter();
|
||||
return (
|
||||
<RecoverPage
|
||||
appContext={appContext}
|
||||
router={router}
|
||||
appName={APPS.PHOTOS}
|
||||
twoFactorType={TwoFactorType.PASSKEY}
|
||||
/>
|
||||
);
|
||||
}
|
Loading…
Reference in a new issue