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

Pass the claims import preferences on the storage layer

This commit is contained in:
Quentin Gliech
2023-06-22 12:40:04 +02:00
parent 31788a95f2
commit 9d5c2a40a1
7 changed files with 17 additions and 6 deletions

View File

@@ -124,7 +124,7 @@ fn import_claim(
name: &'static str,
value: Option<String>,
preference: &UpstreamOAuthProviderImportPreference,
mut run: impl FnMut(String, bool) -> (),
mut run: impl FnMut(String, bool),
) -> Result<(), RouteError> {
// If this claim is ignored, we don't need to do anything.
if preference.ignore() {