You've already forked authentication-service
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user