This commit is contained in:
peintnermax
2024-05-07 10:04:03 +02:00
parent a85eb93939
commit 6764e6fc66
4 changed files with 12 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ import {
CreateSessionResponse,
GetBrandingSettingsResponse,
GetPasswordComplexitySettingsResponse,
AddMyAuthFactorOTPResponse,
RegisterU2FResponse,
GetLegalAndSupportSettingsResponse,
AddHumanUserResponse,
BrandingSettings,
@@ -509,7 +509,7 @@ export async function createPasskeyRegistrationLink(
export async function registerU2F(
userId: string,
domain: string
): Promise<any> {
): Promise<RegisterU2FResponse> {
const userservice = user.getUser(server);
return userservice.registerU2F({