mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 14:54:33 +00:00
fix u2f hostname, layout, check for password change required before all other checks after pws check, totp design
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user