Fix Environment authorization policy

This commit is contained in:
crobibero 2020-11-17 13:44:51 -07:00
parent 08c2c86bc7
commit f6c6ee2008

View File

@ -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 = '\\';