aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/Security/AuthService.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-06-16 11:49:42 +0200
committerGitHub <noreply@github.com>2020-06-16 11:49:42 +0200
commit4d91060c25662774c6f57941c78fcb73df6fdefa (patch)
tree59110387f0253714dd575972c51ed0356fcc5f5b /Emby.Server.Implementations/HttpServer/Security/AuthService.cs
parentebfd1e7c47c62e2aa3d4653af3f6622fc7544d19 (diff)
parentab3dece9f1160e6f08be12796a8a952e36213da5 (diff)
Merge pull request #3341 from telans/brace-spacing
Add newlines after closing braces (SA1513/SA1516)
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/Security/AuthService.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/Security/AuthService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthService.cs b/Emby.Server.Implementations/HttpServer/Security/AuthService.cs
index 72959003a..2e6ff65a6 100644
--- a/Emby.Server.Implementations/HttpServer/Security/AuthService.cs
+++ b/Emby.Server.Implementations/HttpServer/Security/AuthService.cs
@@ -140,6 +140,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
{
return true;
}
+
if (authAttribtues.AllowLocalOnly && request.IsLocal)
{
return true;