1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-06 06:02:40 +03:00

templates: replace tera with minijinja

This commit is contained in:
Quentin Gliech
2023-10-02 14:41:07 +02:00
parent 536bf4907b
commit 995bdfc13b
45 changed files with 370 additions and 314 deletions

View File

@@ -46,7 +46,7 @@ impl Options {
let url_builder =
mas_router::UrlBuilder::new("https://example.com/".parse()?, None, None);
let templates = templates_from_config(&config, &url_builder).await?;
templates.check_render(clock.now(), &mut rng).await?;
templates.check_render(clock.now(), &mut rng)?;
Ok(())
}