1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

Add missing embedded templates

This commit is contained in:
Quentin Gliech
2021-12-13 17:18:16 +01:00
parent 18bcc3dfa8
commit ac211a5aa0

View File

@@ -284,7 +284,11 @@ pub enum TemplateError {
impl warp::reject::Reject for TemplateError {} impl warp::reject::Reject for TemplateError {}
register_templates! { register_templates! {
extra = { "base.html" }; extra = {
"base.html",
"components/button.html",
"components/field.html"
};
/// Render the login page /// Render the login page
pub fn render_login(WithCsrf<LoginContext>) { "login.html" } pub fn render_login(WithCsrf<LoginContext>) { "login.html" }