From f7682e8860ca4c0168db86934b01d3a1e143d443 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Thu, 4 Dec 2025 14:49:45 -0600 Subject: [PATCH] Fix basic auth --- src/Http/BasicAuthServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/BasicAuthServer.cpp b/src/Http/BasicAuthServer.cpp index 10a0e64..44fa6b3 100644 --- a/src/Http/BasicAuthServer.cpp +++ b/src/Http/BasicAuthServer.cpp @@ -41,7 +41,7 @@ namespace Tesses::Framework::Http { if(security[0] != "Basic") return false; auto decoded = Crypto::Base64_Decode(security[0]); std::string decoded_str(decoded.begin(),decoded.end()); - security = HttpUtils::SplitString(auth,":",2); + security = HttpUtils::SplitString(decoded_str,":",2); if(security.size() < 2) return false; user = security[0]; pass = security[1];