aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/account
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-13 23:26:31 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-13 23:26:31 +0200
commit3fb4e4117df9d668815e974dea6b2a29436c92af (patch)
tree6cc9e2c434c35b218582ca6c32e262524403eb48 /server/src/routes/ui/account
parent876fe4bd1f64ecd131947d327e587c1aa295e32e (diff)
downloadjellything-3fb4e4117df9d668815e974dea6b2a29436c92af.tar
jellything-3fb4e4117df9d668815e974dea6b2a29436c92af.tar.bz2
jellything-3fb4e4117df9d668815e974dea6b2a29436c92af.tar.zst
some cleanup
Diffstat (limited to 'server/src/routes/ui/account')
-rw-r--r--server/src/routes/ui/account/settings.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/src/routes/ui/account/settings.rs b/server/src/routes/ui/account/settings.rs
index d44aef4..e196b35 100644
--- a/server/src/routes/ui/account/settings.rs
+++ b/server/src/routes/ui/account/settings.rs
@@ -1,10 +1,13 @@
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2023 metamuffin <metamuffin.org>
+*/
use std::ops::Range;
-
use rocket::{
form::{self, validate::len, Contextual, Form},
get, post, FromForm, State,
};
-
use super::{format_form_error, hash_password};
use crate::{
database::Database,