Skip to content

Commit

Permalink
Add fix for not requiring email in webauthn sign in
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30-st committed Jan 27, 2025
1 parent fd87984 commit 8e68827
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/ts/recipe/webauthn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,12 @@ export default class Wrapper {
}

static async signInOptions({
email,
tenantId = DEFAULT_TENANT_ID,
userVerification = DEFAULT_SIGNIN_OPTIONS_USER_VERIFICATION,
timeout = DEFAULT_SIGNIN_OPTIONS_TIMEOUT,
userContext,
...rest
}: {
email: string;
timeout?: number;
userVerification?: UserVerification;
tenantId?: string;
Expand Down Expand Up @@ -232,7 +230,6 @@ export default class Wrapper {
}

return await Recipe.getInstanceOrThrowError().recipeInterfaceImpl.signInOptions({
email,
relyingPartyId,
origin,
timeout,
Expand Down

0 comments on commit 8e68827

Please sign in to comment.