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