Skip to content

Commit e139e5a

Browse files
committed
2 parents a33a678 + cf2da35 commit e139e5a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
8686
}
8787
```
8888

89-
## Basic Authentication
90-
91-
If you need to add basic authentication to your serilog-ui instance, you can use the `BasicAuthenticationFilter`. Here's how to configure it in your `Startup.Configure` method:
92-
93-
```csharp
94-
app.UseSerilogUi(options =>
95-
{
96-
options.Authorization.Filters = new IUiAuthorizationFilter[]
97-
{
98-
new BasicAuthenticationFilter { User = "User", Pass = "P@ss" }
99-
};
100-
options.Authorization.RunAuthorizationFilterOnAppRoutes = true;
101-
});
102-
```
103-
10489
### For further configuration: [:fast_forward:](https://github.com/serilog-contrib/serilog-ui/wiki/Install:-Configuration-Options)
10590

10691
## Running the Tests: [:test_tube:](https://github.com/serilog-contrib/serilog-ui/wiki/Development:-Testing)

0 commit comments

Comments
 (0)