diff options
author | metamuffin <metamuffin@disroot.org> | 2025-04-28 00:48:52 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-04-28 00:48:52 +0200 |
commit | 80d28b764c95891551e28c395783f5ff9d065743 (patch) | |
tree | f25898b1c939a939c63236ca4e8e843e81069947 /server/src/ui/account | |
parent | 335ba978dbaf203f3603a815147fd75dbf205723 (diff) | |
download | jellything-80d28b764c95891551e28c395783f5ff9d065743.tar jellything-80d28b764c95891551e28c395783f5ff9d065743.tar.bz2 jellything-80d28b764c95891551e28c395783f5ff9d065743.tar.zst |
start with splitting server
Diffstat (limited to 'server/src/ui/account')
-rw-r--r-- | server/src/ui/account/mod.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/server/src/ui/account/mod.rs b/server/src/ui/account/mod.rs index 312b40c..c1e5479 100644 --- a/server/src/ui/account/mod.rs +++ b/server/src/ui/account/mod.rs @@ -5,21 +5,17 @@ */ pub mod settings; -use super::{ - error::MyError, - layout::{trs, LayoutPage}, -}; +use super::error::MyError; use crate::{ database::Database, locale::AcceptLanguage, logic::session::{self, Session}, - ui::{error::MyResult, home::rocket_uri_macro_r_home, layout::DynLayoutPage}, + ui::{error::MyResult, home::rocket_uri_macro_r_home}, uri, }; use anyhow::anyhow; use argon2::{password_hash::Salt, Argon2, PasswordHasher}; use chrono::Duration; -use jellybase::{locale::tr, CONF}; use jellycommon::user::{User, UserPermission}; use rocket::{ form::{Contextual, Form}, |