mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
revert change error
This commit is contained in:
@@ -115,7 +115,7 @@ namespace Jellyfin.Server.Extensions
|
|||||||
policy =>
|
policy =>
|
||||||
{
|
{
|
||||||
policy.AddAuthenticationSchemes(AuthenticationSchemes.CustomAuthentication);
|
policy.AddAuthenticationSchemes(AuthenticationSchemes.CustomAuthentication);
|
||||||
policy.AddRequirements(new NetworkAccessRequirement());
|
policy.AddRequirements(new LocalAccessRequirement());
|
||||||
});
|
});
|
||||||
options.AddPolicy(
|
options.AddPolicy(
|
||||||
Policies.LocalAccessOrRequiresElevation,
|
Policies.LocalAccessOrRequiresElevation,
|
||||||
|
|||||||
Reference in New Issue
Block a user