From 3242a47fc2cd8d46d2d6482b7d386c26adca1ea2 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Tue, 10 Dec 2024 09:08:54 +0100 Subject: auth fixes (#260) * fix so we can replace an openid provider that was read from disk file * fix OidcClient lifetime issues in authmg --- src/zenhttp/auth/authservice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zenhttp/auth/authservice.cpp') diff --git a/src/zenhttp/auth/authservice.cpp b/src/zenhttp/auth/authservice.cpp index 6ed587770..f89ca91da 100644 --- a/src/zenhttp/auth/authservice.cpp +++ b/src/zenhttp/auth/authservice.cpp @@ -56,7 +56,7 @@ HttpAuthService::HttpAuthService(AuthMgr& AuthMgr) : m_AuthMgr(AuthMgr) if (Ok) { - ServerRequest.WriteResponse(Ok ? HttpResponseCode::OK : HttpResponseCode::BadRequest); + ServerRequest.WriteResponse(HttpResponseCode::OK); } else { -- cgit v1.2.3