[cpp-sp] branch main updated: Switch to local logout if no session exists.

Codeberg noreply at shibboleth.net
Tue Oct 13 21:48:48 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository cpp-sp.

View the commit online:
https://codeberg.org/Shibboleth/cpp-sp/commit/f2c4a9f0c0ce715efb6a07ef5bf4401ba376a42b

The following commit(s) were added to refs/heads/main by this push:
     new f2c4a9f0 Switch to local logout if no session exists.
f2c4a9f0 is described below

commit f2c4a9f0c0ce715efb6a07ef5bf4401ba376a42b
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Oct 13 17:48:32 2026 -0400

    Switch to local logout if no session exists.
---
 shibsp/handler/impl/LogoutInitiator.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/shibsp/handler/impl/LogoutInitiator.cpp b/shibsp/handler/impl/LogoutInitiator.cpp
index 2e079371..494b8151 100644
--- a/shibsp/handler/impl/LogoutInitiator.cpp
+++ b/shibsp/handler/impl/LogoutInitiator.cpp
@@ -83,6 +83,9 @@ pair<bool,long> LogoutInitiator::run(SPRequest& request, bool isHandler) const
         session.unlock();
         request.getAgent().getSessionCache()->remove(request);
     }
+    else {
+        localOnly = true;
+    }
 
     // Determine return location, either parameter or local setting.
     const char* dest = request.getParameter("return");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list