aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/auth/authservice.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-12-10 09:08:54 +0100
committerGitHub Enterprise <[email protected]>2024-12-10 09:08:54 +0100
commit3242a47fc2cd8d46d2d6482b7d386c26adca1ea2 (patch)
treedd232ab9430afbc5193214c27abf92ef7bbfb873 /src/zenhttp/auth/authservice.cpp
parent5.5.16-pre0 (diff)
downloadzen-3242a47fc2cd8d46d2d6482b7d386c26adca1ea2.tar.xz
zen-3242a47fc2cd8d46d2d6482b7d386c26adca1ea2.zip
auth fixes (#260)
* fix so we can replace an openid provider that was read from disk file * fix OidcClient lifetime issues in authmg
Diffstat (limited to 'src/zenhttp/auth/authservice.cpp')
-rw-r--r--src/zenhttp/auth/authservice.cpp2
1 files changed, 1 insertions, 1 deletions
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
{