diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-10-11 08:53:16 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-10-11 08:53:16 -0500 |
| commit | b56a6650e95b3964d22d0af8c4c44b74d2800c29 (patch) | |
| tree | b325530d3897131c1592183c2ba9b325d1b19925 /src/slskd/Core/API/Controllers/SessionController.cs | |
| parent | 3c3cfe6f2c3c49c05aa4de1e86a81fcb2c8af590 (diff) | |
| parent | 409f66e9a851625346fb1309f6cd41e6a9770e9c (diff) | |
| download | slskd-b56a6650e95b3964d22d0af8c4c44b74d2800c29.tar.gz | |
Merge remote-tracking branch 'origin/master' into agent
Diffstat (limited to 'src/slskd/Core/API/Controllers/SessionController.cs')
| -rw-r--r-- | src/slskd/Core/API/Controllers/SessionController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/API/Controllers/SessionController.cs b/src/slskd/Core/API/Controllers/SessionController.cs index 5f20aa9f..65a43e72 100644 --- a/src/slskd/Core/API/Controllers/SessionController.cs +++ b/src/slskd/Core/API/Controllers/SessionController.cs @@ -61,7 +61,7 @@ namespace slskd.Core.API /// <response code="403">The authentication is is invalid.</response> [HttpGet] [Route("")] - [Authorize] + [Authorize(Policy = AuthPolicy.Any)] [ProducesResponseType(200)] [ProducesResponseType(401)] public IActionResult Check() |
