Fix Environment authorization policy

pull/4504/head
crobibero 4 years ago
parent 08c2c86bc7
commit f6c6ee2008

@ -17,7 +17,7 @@ namespace Jellyfin.Api.Controllers
/// <summary> /// <summary>
/// Environment Controller. /// Environment Controller.
/// </summary> /// </summary>
[Authorize(Policy = Policies.RequiresElevation)] [Authorize(Policy = Policies.FirstTimeSetupOrElevated)]
public class EnvironmentController : BaseJellyfinApiController public class EnvironmentController : BaseJellyfinApiController
{ {
private const char UncSeparator = '\\'; private const char UncSeparator = '\\';

Loading…
Cancel
Save