1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-21 23:00:50 +03:00

Make the sign out buttons keep the current action context

This commit is contained in:
Quentin Gliech
2022-05-22 17:31:57 +02:00
parent af4f01b769
commit 99ac59bc5d
14 changed files with 69 additions and 37 deletions

View File

@@ -73,7 +73,7 @@ pub(crate) async fn get(
if let Some(session) = maybe_session {
let (csrf_token, cookie_jar) = cookie_jar.csrf_token();
let ctx = ConsentContext::new(grant)
let ctx = ConsentContext::new(grant, PostAuthAction::continue_grant(grant_id))
.with_session(session)
.with_csrf(csrf_token.form_value());