diff options
| author | Bill Thornton <thornbill@users.noreply.github.com> | 2020-11-17 15:56:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-17 15:56:12 -0500 |
| commit | 26d95d19b4134bc70f24b54eae6a619379a91b4b (patch) | |
| tree | 1e16ea204089527b917ad0a39214a7715336aeaf /Jellyfin.Api/Controllers/EnvironmentController.cs | |
| parent | 08c2c86bc7debb306f492858ca6c7b3172300bd0 (diff) | |
| parent | f6c6ee20085b16ca24079b102306b49f27d70751 (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.cs | 2 |
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 = '\\'; |
