diff options
Diffstat (limited to 'server/src/routes/ui/account/mod.rs')
-rw-r--r-- | server/src/routes/ui/account/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/routes/ui/account/mod.rs b/server/src/routes/ui/account/mod.rs index 8e6d054..d4afb06 100644 --- a/server/src/routes/ui/account/mod.rs +++ b/server/src/routes/ui/account/mod.rs @@ -55,6 +55,7 @@ pub async fn r_account_register() -> DynLayoutPage<'static> { input[type="submit", value="Register now!"]; } }, + ..Default::default() } } @@ -84,6 +85,7 @@ pub fn r_account_login() -> DynLayoutPage<'static> { p { "While logged in, a cookie will be used to identify you." } } }, + ..Default::default() } } @@ -97,6 +99,7 @@ pub fn r_account_logout() -> DynLayoutPage<'static> { input[type="submit", value="Log out."]; } }, + ..Default::default() } } @@ -132,6 +135,7 @@ pub fn r_account_register_post<'a>( content: markup::new! { h1 { "Registration successful, you may log in now." } }, + ..Default::default() }), Err(_) => Err(MyError(anyhow!("username is taken"))), } |