aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-11 12:50:36 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-11 12:50:36 +0100
commite2751d42e8775596b7c4b929fd004d879f980947 (patch)
treeda1d6e703abbb6a47cd64730603f06dc4b51df8f /Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
parentec1f5dc317182582ebff843c9e8a4d5277405469 (diff)
parente5c2dbdf23267006ef151d6ee8ab1cea147123d7 (diff)
Merge branch 'dev' into code-cleanup
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
index e632e4d27..f561c3d60 100644
--- a/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
+++ b/Emby.Server.Implementations/HttpServer/Security/AuthorizationContext.cs
@@ -115,7 +115,7 @@ namespace Emby.Server.Implementations.HttpServer.Security
{
info.Device = tokenInfo.DeviceName;
}
-
+
else if (!string.Equals(info.Device, tokenInfo.DeviceName, StringComparison.OrdinalIgnoreCase))
{
if (allowTokenInfoUpdate)