1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

storage: impl Repository for Box<impl Repository + ?Sized>

This commit is contained in:
Quentin Gliech
2023-01-23 18:12:50 +01:00
parent a9facab131
commit 6a8c79c497
20 changed files with 152 additions and 40 deletions

View File

@@ -167,7 +167,7 @@ pub(crate) async fn get(
let templates = templates.clone();
let callback_destination = callback_destination.clone();
async move {
let maybe_session = session_info.load_session(&mut *repo).await?;
let maybe_session = session_info.load_session(&mut repo).await?;
let prompt = params.auth.prompt.as_deref().unwrap_or_default();
// Check if the request/request_uri/registration params are used. If so, reply