From 3428a564ed5aba88a19424e2e4ff0be3961f214e Mon Sep 17 00:00:00 2001 From: Rod Falanga Date: Sat, 31 Jan 2026 07:48:27 -0700 Subject: [PATCH] Fix component names in authorization policy section (#36728) There is no component named `local-account-only`. Instead, it is named `local-account`. --- .../security/blazor-web-app-with-windows-authentication.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aspnetcore/blazor/security/blazor-web-app-with-windows-authentication.md b/aspnetcore/blazor/security/blazor-web-app-with-windows-authentication.md index e6f668cf7848..7d130da3ddb1 100644 --- a/aspnetcore/blazor/security/blazor-web-app-with-windows-authentication.md +++ b/aspnetcore/blazor/security/blazor-web-app-with-windows-authentication.md @@ -71,12 +71,12 @@ builder.Services.AddAuthorizationBuilder() "S-1-5-113")); ``` -The authorization policy is enforced by the `LocalAccountOnly` component. +The authorization policy is enforced by the `LocalAccount` component. -`Components/Pages/LocalAccountOnly.razor`: +`Components/Pages/LocalAccount.razor`: ```razor -@page "/local-account-only" +@page "/local-account" @using Microsoft.AspNetCore.Authorization @attribute [Authorize("LocalAccount")]