mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
Fix session logout
There were 2 issues with session logouts, one is that the logout_cookie was checked and acted on in the wrong place, the other is that the wrong value was set in the IPASESSION header. Fixes https://fedorahosted.org/freeipa/ticket/6685 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
1 parent
fe6f2b6f6e
commit
908d2eaba4
2 files changed
+5
-5
No files matched your search
@@ -23,6 +23,6 @@ class session_logout(Command):
|
||||
else:
|
||||
delattr(context, 'ccache_name')
|
||||
|
||||
setattr(context, 'logout_cookie', '')
|
||||
setattr(context, 'logout_cookie', 'MagBearerToken=')
|
||||
|
||||
return dict(result=None)
|
||||
Reference in new issue
Block a user