From f66d64ecbcb5423acdffd17b3df2c5a7ef2c0425 Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Tue, 11 Apr 2023 19:09:33 -0400 Subject: [PATCH] Fixed an issue with Azure and OIDC sessions not being properly cleared on logout. --- powerdnsadmin/routes/index.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/powerdnsadmin/routes/index.py b/powerdnsadmin/routes/index.py index 2636cf1..d56ce61 100644 --- a/powerdnsadmin/routes/index.py +++ b/powerdnsadmin/routes/index.py @@ -553,6 +553,8 @@ def clear_session(): session.pop('user_id', None) session.pop('github_token', None) session.pop('google_token', None) + session.pop('azure_token', None) + session.pop('oidc_token', None) session.pop('authentication_type', None) session.pop('remote_user', None) logout_user()