Skip to content

Commit 65e6a37

Browse files
committed
Update Passkeys.razor
1 parent af27faf commit 65e6a37

File tree

1 file changed

+1
-1
lines changed
  • src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Account/Pages/Manage

1 file changed

+1
-1
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Account/Pages/Manage/Passkeys.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ else
132132
return;
133133
}
134134

135-
var attestationResult = await UserManager.PerformPasskeyAttestationAsync(responseJson, options);
135+
var attestationResult = await SignInManager.PerformPasskeyAttestationAsync(responseJson, options);
136136
if (!attestationResult.Succeeded)
137137
{
138138
RedirectManager.RedirectToCurrentPageWithStatus($"Error: Could not add the passkey: {attestationResult.Failure.Message}.", HttpContext);

0 commit comments

Comments
 (0)