Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/87b2bc5dc4b19f275488178fec25e56e23047fec You should set ROOT_URL correctly, otherwise the web may not work correctly.

Fix LocalAccessOrRequiresElevationHandler ()

pull/9319/head
Shadowghost 2 years ago committed by GitHub
parent 2c0201e921
commit 87b2bc5dc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -37,14 +37,18 @@ namespace Jellyfin.Api.Auth.LocalAccessOrRequiresElevationPolicy
if (ip is null || _networkManager.IsInLocalNetwork(ip))
{
context.Succeed(requirement);
return Task.CompletedTask;
}
if (context.User.IsInRole(UserRoles.Administrator))
{
context.Succeed(requirement);
}
context.Fail();
else
{
context.Fail();
}
return Task.CompletedTask;
}

Loading…
Cancel
Save