You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-09 04:22:45 +03:00
Axum migration: logout route
This commit is contained in:
@@ -38,6 +38,13 @@ impl SessionInfo {
|
||||
}
|
||||
}
|
||||
|
||||
/// Mark the session as ended
|
||||
#[must_use]
|
||||
pub fn mark_session_ended(mut self) -> Self {
|
||||
self.current = None;
|
||||
self
|
||||
}
|
||||
|
||||
/// Load the [`BrowserSession`] from database
|
||||
pub async fn load_session(
|
||||
&self,
|
||||
|
Reference in New Issue
Block a user