mirror of
https://codeberg.org/pfzetto/axum-oidc
synced 2025-12-08 06:05:16 +01:00
Merge PR #37
This commit is contained in:
commit
46f4ef056f
1 changed files with 1 additions and 0 deletions
|
|
@ -298,6 +298,7 @@ where
|
||||||
let has_logout_ext = response.extensions().get::<ClearSessionFlag>().is_some();
|
let has_logout_ext = response.extensions().get::<ClearSessionFlag>().is_some();
|
||||||
if let (true, Some(mut login_session)) = (has_logout_ext, login_session) {
|
if let (true, Some(mut login_session)) = (has_logout_ext, login_session) {
|
||||||
login_session.authenticated = None;
|
login_session.authenticated = None;
|
||||||
|
login_session.refresh_token = None;
|
||||||
session.insert(SESSION_KEY, login_session).await?;
|
session.insert(SESSION_KEY, login_session).await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue