Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 6ec05d343cdfdf85a0886c81ca7022f1f3fa9f96
https://github.com/Checkmk/checkmk/commit/6ec05d343cdfdf85a0886c81ca7022f1f…
Author: Maximilian Wirtz <maximilian.wirtz(a)checkmk.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
A .werks/16126
M cmk/gui/auth.py
M cmk/gui/session.py
M tests/unit/cmk/gui/test_login_unit.py
A tests/unit/cmk/gui/test_session.py
Log Message:
-----------
16126 FIX Ignore invalid session cookie for header-auth
When an user logged in via HTTP header authentication (e.g. the legacy SAML method with
mod_auth_mellon) and that user had a session cookie from a previous session which is now
invalid the creation of a new session was aborted.
This Werk fixes this so previous session cookies are ignored if they are invalid and a new
session will be created.
Change-Id: Ie5aea39d9af524429b2243a4a3d531420e138d98
Commit: f8091e83493b7d3a26beeadc781cbed65837b04d
https://github.com/Checkmk/checkmk/commit/f8091e83493b7d3a26beeadc781cbed65…
Author: Maximilian Wirtz <maximilian.wirtz(a)checkmk.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M cmk/gui/session.py
M tests/integration/cmk/gui/test_login.py
Log Message:
-----------
Fix cookie flag and add test
Change-Id: I0606e51b80af71d5452dff01c41994464ac9202f
Compare:
https://github.com/Checkmk/checkmk/compare/7f9e0eda3fb6...f8091e83493b