mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 14:32:34 +00:00
u2f pages, choose 2 factor page
This commit is contained in:
@@ -30,11 +30,8 @@ export default async function Page({
|
||||
{method === "email" && (
|
||||
<p className="ztdl-p">Enter the code you got via your email.</p>
|
||||
)}
|
||||
{method === "u2f" && (
|
||||
<p className="ztdl-p">Verify your account with your device.</p>
|
||||
)}
|
||||
|
||||
{method && ["time-based", "sms", "email"].includes(method) ? (
|
||||
{method && (
|
||||
<LoginOTP
|
||||
loginName={loginName}
|
||||
sessionId={sessionId}
|
||||
@@ -42,13 +39,6 @@ export default async function Page({
|
||||
organization={organization}
|
||||
method={method}
|
||||
></LoginOTP>
|
||||
) : (
|
||||
<VerifyU2F
|
||||
loginName={loginName}
|
||||
sessionId={sessionId}
|
||||
authRequestId={authRequestId}
|
||||
organization={organization}
|
||||
></VerifyU2F>
|
||||
)}
|
||||
</div>
|
||||
</DynamicTheme>
|
||||
|
||||
Reference in New Issue
Block a user