aboutsummaryrefslogtreecommitdiff
path: root/server/src/ui/account/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/ui/account/mod.rs')
-rw-r--r--server/src/ui/account/mod.rs15
1 files changed, 3 insertions, 12 deletions
diff --git a/server/src/ui/account/mod.rs b/server/src/ui/account/mod.rs
index 35cf52e..429b70a 100644
--- a/server/src/ui/account/mod.rs
+++ b/server/src/ui/account/mod.rs
@@ -6,25 +6,16 @@
pub mod settings;
use super::error::MyError;
-use crate::{
- request_info::{language::AcceptLanguage, A},
- ui::{error::MyResult, home::rocket_uri_macro_r_home},
-};
+use crate::ui::{error::MyResult, home::rocket_uri_macro_r_home};
use anyhow::anyhow;
use jellyimport::is_importing;
-use jellylogic::{account::register_user, login::login_logic, session::Session};
-use jellyui::{
- account::{AccountLogin, AccountLogout, AccountRegister, AccountRegisterSuccess},
- render_page,
- scaffold::{RenderInfo, SessionInfo},
-};
use rocket::{
+ FromForm,
form::{Contextual, Form},
get,
http::{Cookie, CookieJar},
post,
- response::{content::RawHtml, Redirect},
- FromForm,
+ response::{Redirect, content::RawHtml},
};
use serde::{Deserialize, Serialize};