Fixed after accepting suggestion.

This commit is contained in:
BaronGreenback 2021-04-10 19:23:27 +01:00
parent 0db5df86df
commit af027b6283

View File

@ -160,7 +160,7 @@ namespace Jellyfin.Server.Extensions
policy.AddRequirements(new SyncPlayAccessRequirement(SyncPlayAccessRequirementType.IsInGroup)); policy.AddRequirements(new SyncPlayAccessRequirement(SyncPlayAccessRequirementType.IsInGroup));
}); });
options.AddPolicy( options.AddPolicy(
Policies.NetworkAccessPolicy, Policies.LocalNetworkAccessPolicy,
policy => policy =>
{ {
policy.AddAuthenticationSchemes(AuthenticationSchemes.CustomAuthentication); policy.AddAuthenticationSchemes(AuthenticationSchemes.CustomAuthentication);