Fix the compat login_sso_redirect handler not committing the transaction

This commit is contained in:
Quentin Gliech committed 2023-01-31 17:11:13 +01:00
1 parent 39c126318f
commit ba2471d637
1 file changed
+2
@@ -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)))
}