mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-14 10:53:44 +00:00
prompt when loginsetting, escape prompt when alt
This commit is contained in:
@@ -9,7 +9,7 @@ export default async function Page({
|
||||
}: {
|
||||
searchParams: Record<string | number | symbol, string | undefined>;
|
||||
}) {
|
||||
const { loginName } = searchParams;
|
||||
const { loginName, promptPasswordless, alt } = searchParams;
|
||||
const sessionFactors = await loadSession(loginName);
|
||||
|
||||
async function loadSession(loginName?: string) {
|
||||
@@ -44,7 +44,11 @@ export default async function Page({
|
||||
></UserAvatar>
|
||||
)}
|
||||
|
||||
<PasswordForm loginName={loginName} />
|
||||
<PasswordForm
|
||||
loginName={loginName}
|
||||
promptPasswordless={promptPasswordless === "true"}
|
||||
isAlternative={alt === "true"}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user