mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 18:42:18 +00:00
register totp, login catch expired session
This commit is contained in:
@@ -17,7 +17,7 @@ export default async function Page({
|
||||
searchParams: Record<string | number | symbol, string | undefined>;
|
||||
params: Record<string | number | symbol, string | undefined>;
|
||||
}) {
|
||||
const { loginName, organization } = searchParams;
|
||||
const { loginName, organization, sessionId, authRequestId } = searchParams;
|
||||
const { method } = params;
|
||||
|
||||
const branding = await getBrandingSettings(server, organization);
|
||||
@@ -67,6 +67,10 @@ export default async function Page({
|
||||
<TOTPRegister
|
||||
uri={totpResponse.uri as string}
|
||||
secret={totpResponse.secret as string}
|
||||
loginName={loginName}
|
||||
sessionId={sessionId}
|
||||
authRequestId={authRequestId}
|
||||
organization={organization}
|
||||
></TOTPRegister>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user