aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/SystemController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-06 17:59:48 -0600
committercrobibero <cody@robibe.ro>2020-08-06 17:59:48 -0600
commit05f9473544dd40c6ffdc8512d675256468c09cb3 (patch)
tree82c083d0487c629532ae76a957d9198d95d028c9 /Jellyfin.Api/Controllers/SystemController.cs
parentfffa94fc33b923863e7cfe0d57d85ae86206975e (diff)
Apply fixes from review
Diffstat (limited to 'Jellyfin.Api/Controllers/SystemController.cs')
-rw-r--r--Jellyfin.Api/Controllers/SystemController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SystemController.cs b/Jellyfin.Api/Controllers/SystemController.cs
index 08f1b421d..bbfd163de 100644
--- a/Jellyfin.Api/Controllers/SystemController.cs
+++ b/Jellyfin.Api/Controllers/SystemController.cs
@@ -59,7 +59,7 @@ namespace Jellyfin.Api.Controllers
/// <response code="200">Information retrieved.</response>
/// <returns>A <see cref="SystemInfo"/> with info about the system.</returns>
[HttpGet("Info")]
- [Authorize(Policy = Policies.IgnoreParentalControlOrFirstTimeSetup)]
+ [Authorize(Policy = Policies.FirstTimeSetupOrIgnoreParentalControl)]
[ProducesResponseType(StatusCodes.Status200OK)]
public async Task<ActionResult<SystemInfo>> GetSystemInfo()
{