diff options
Diffstat (limited to 'server/src/routes/ui/account')
-rw-r--r-- | server/src/routes/ui/account/mod.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/src/routes/ui/account/mod.rs b/server/src/routes/ui/account/mod.rs index 543fa48..cd8695f 100644 --- a/server/src/routes/ui/account/mod.rs +++ b/server/src/routes/ui/account/mod.rs @@ -6,8 +6,6 @@ pub mod session; pub mod settings; -use std::collections::HashSet; - use super::{error::MyError, layout::LayoutPage}; use crate::{ database::Database, @@ -31,6 +29,7 @@ use rocket::{ FromForm, State, }; use serde::{Deserialize, Serialize}; +use std::collections::HashSet; #[derive(FromForm)] pub struct RegisterForm { @@ -156,7 +155,7 @@ pub fn r_account_register_post<'a>( content: markup::new! { h1 { @if logged_in { "Registration successful, you may switch account now." - } else { + } else { "Registration successful, you may log in now." }} }, |