From 0710259d6aef2d3389664845b7a30a28cd625671 Mon Sep 17 00:00:00 2001 From: olavmrk Date: Wed, 6 Mar 2013 12:53:17 +0000 Subject: Fix SP-initiated logout. We need to restore the profile state when creating a logout request, so that Lasso has the information it requires for logging out. If we do not do this, every logout "fail" with the log message: User attempted to initiate logout without being loggged in. git-svn-id: https://modmellon.googlecode.com/svn/trunk@172 a716ebb1-153a-0410-b759-cfb97c6a1b53 --- auth_mellon_handler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'auth_mellon_handler.c') diff --git a/auth_mellon_handler.c b/auth_mellon_handler.c index 200c37f..c0054a0 100644 --- a/auth_mellon_handler.c +++ b/auth_mellon_handler.c @@ -860,6 +860,7 @@ static int am_init_logout_request(request_rec *r, LassoLogout *logout) /* Disable the the local session (in case the IdP doesn't respond). */ mellon_session = am_get_request_session(r); if(mellon_session != NULL) { + am_restore_lasso_profile_state(r, &logout->parent, mellon_session); mellon_session->logged_in = 0; am_release_request_session(r, mellon_session); } -- cgit