You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
graphql: Always make the associated SSO login available in compatibility sessions
This commit is contained in:
@@ -66,8 +66,7 @@ impl EndCompatSessionPayload {
|
||||
/// Returns the ended session.
|
||||
async fn compat_session(&self) -> Option<CompatSession> {
|
||||
match self {
|
||||
// XXX: the SSO login is not returned here.
|
||||
Self::Ended(session) => Some(CompatSession(session.clone(), None)),
|
||||
Self::Ended(session) => Some(CompatSession::new(session.clone())),
|
||||
Self::NotFound => None,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user