From f34f3484f3d39b5674348aa80e511a5ec4bf9508 Mon Sep 17 00:00:00 2001 From: Henk Kalkwater Date: Wed, 20 Jul 2022 23:13:42 +0200 Subject: [PATCH] Fix authentication --- core/src/apiclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/apiclient.cpp b/core/src/apiclient.cpp index 9c26aad..db6a33e 100644 --- a/core/src/apiclient.cpp +++ b/core/src/apiclient.cpp @@ -225,7 +225,7 @@ void ApiClient::addTokenHeader(QNetworkRequest &request) const { authentication += ", DeviceId=\"" + d->deviceId + "\""; authentication += ", Version=\"" + version() + "\""; if (d->authenticated) { - authentication += ", token=\"" + d->token + "\""; + authentication += ", Token=\"" + d->token + "\""; } request.setRawHeader("X-Emby-Authorization", authentication.toUtf8()); }