fix u2f hostname, layout, check for password change required before all other checks after pws check, totp design

This commit is contained in:
Max Peintner
2024-12-13 10:16:36 +01:00
parent e087711cf2
commit 8c6c41072d
6 changed files with 36 additions and 79 deletions

View File

@@ -620,17 +620,7 @@ export async function createPasskeyRegistrationLink(
* @returns the newly set email
*/
// TODO check for token requirements!
export async function registerU2F(
userId: string,
domain: string,
// token: string,
) {
// const transport = createServerTransport(token, {
// baseUrl: process.env.ZITADEL_API_URL!,
// });
// const service = createUserServiceClient(transport);
export async function registerU2F(userId: string, domain: string) {
return userService.registerU2F({
userId,
domain,