aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/EnvironmentController.cs
diff options
context:
space:
mode:
authorBill Thornton <thornbill@users.noreply.github.com>2020-11-17 15:56:12 -0500
committerGitHub <noreply@github.com>2020-11-17 15:56:12 -0500
commit26d95d19b4134bc70f24b54eae6a619379a91b4b (patch)
tree1e16ea204089527b917ad0a39214a7715336aeaf /Jellyfin.Api/Controllers/EnvironmentController.cs
parent08c2c86bc7debb306f492858ca6c7b3172300bd0 (diff)
parentf6c6ee20085b16ca24079b102306b49f27d70751 (diff)
Merge pull request #4504 from crobibero/startup-wiz
Fix Environment authorization policy
Diffstat (limited to 'Jellyfin.Api/Controllers/EnvironmentController.cs')
-rw-r--r--Jellyfin.Api/Controllers/EnvironmentController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/EnvironmentController.cs b/Jellyfin.Api/Controllers/EnvironmentController.cs
index 6dd536254..b0b4b5af5 100644
--- a/Jellyfin.Api/Controllers/EnvironmentController.cs
+++ b/Jellyfin.Api/Controllers/EnvironmentController.cs
@@ -17,7 +17,7 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// Environment Controller.
/// </summary>
- [Authorize(Policy = Policies.RequiresElevation)]
+ [Authorize(Policy = Policies.FirstTimeSetupOrElevated)]
public class EnvironmentController : BaseJellyfinApiController
{
private const char UncSeparator = '\\';