You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-07 17:03:01 +03:00
Clean up the default policy config data
This commit is contained in:
@@ -114,13 +114,9 @@ pub async fn policy_factory_from_config(
|
||||
password: config.password_entrypoint.clone(),
|
||||
};
|
||||
|
||||
PolicyFactory::load(
|
||||
policy_file,
|
||||
config.data.clone().unwrap_or_default(),
|
||||
entrypoints,
|
||||
)
|
||||
.await
|
||||
.context("failed to load the policy")
|
||||
PolicyFactory::load(policy_file, config.data.clone(), entrypoints)
|
||||
.await
|
||||
.context("failed to load the policy")
|
||||
}
|
||||
|
||||
pub async fn templates_from_config(
|
||||
|
Reference in New Issue
Block a user