1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Fix the compat login_sso_redirect handler not committing the transaction

This commit is contained in:
Quentin Gliech
2023-01-31 16:52:49 +01:00
parent 39c126318f
commit ba2471d637

View File

@ -84,5 +84,7 @@ pub async fn get(
.add(&mut rng, &clock, token, redirect_url)
.await?;
repo.save().await?;
Ok(url_builder.absolute_redirect(&CompatLoginSsoComplete::new(login.id, params.action)))
}