mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
revert change error
This commit is contained in:
parent
5fb7557763
commit
cf3aff93f2
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user