Skip to content

Commit 3428a56

Browse files
authored
Fix component names in authorization policy section (#36728)
There is no component named `local-account-only`. Instead, it is named `local-account`.
1 parent ba229cf commit 3428a56

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

aspnetcore/blazor/security/blazor-web-app-with-windows-authentication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ builder.Services.AddAuthorizationBuilder()
7171
"S-1-5-113"));
7272
```
7373

74-
The authorization policy is enforced by the `LocalAccountOnly` component.
74+
The authorization policy is enforced by the `LocalAccount` component.
7575

76-
`Components/Pages/LocalAccountOnly.razor`:
76+
`Components/Pages/LocalAccount.razor`:
7777

7878
```razor
79-
@page "/local-account-only"
79+
@page "/local-account"
8080
@using Microsoft.AspNetCore.Authorization
8181
@attribute [Authorize("LocalAccount")]
8282

0 commit comments

Comments
 (0)