You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
Fix the compat login_sso_redirect handler not committing the transaction
This commit is contained in:
@ -84,5 +84,7 @@ pub async fn get(
|
|||||||
.add(&mut rng, &clock, token, redirect_url)
|
.add(&mut rng, &clock, token, redirect_url)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
repo.save().await?;
|
||||||
|
|
||||||
Ok(url_builder.absolute_redirect(&CompatLoginSsoComplete::new(login.id, params.action)))
|
Ok(url_builder.absolute_redirect(&CompatLoginSsoComplete::new(login.id, params.action)))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user