From f6651bb00b0fb2e678d9938597969cd3eabc8c43 Mon Sep 17 00:00:00 2001 From: drbourbon Date: Wed, 28 Jan 2026 07:13:25 +0100 Subject: [PATCH] oops, removed local patch for broken kosync with cwa --- lib/KOReaderSync/KOReaderSyncClient.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/KOReaderSync/KOReaderSyncClient.cpp b/lib/KOReaderSync/KOReaderSyncClient.cpp index c99e43e8..c5053c64 100644 --- a/lib/KOReaderSync/KOReaderSyncClient.cpp +++ b/lib/KOReaderSync/KOReaderSyncClient.cpp @@ -19,9 +19,6 @@ void addAuthHeaders(HTTPClient& http) { http.addHeader("Accept", "application/vnd.koreader.v1+json"); http.addHeader("x-auth-user", KOREADER_STORE.getUsername().c_str()); http.addHeader("x-auth-key", KOREADER_STORE.getMd5Password().c_str()); - - // [FIXME] FB hack per mio CWA che non autentica con x-auth-user - http.setAuthorization(KOREADER_STORE.getUsername().c_str(), KOREADER_STORE.getPassword().c_str()); } bool isHttpsUrl(const std::string& url) { return url.rfind("https://", 0) == 0; }