aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/ui/account/mod.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-06-05 20:28:00 +0200
committermetamuffin <metamuffin@disroot.org>2023-06-05 20:28:00 +0200
commitbcf0f3526883af82f129d0ddb0de484ded80fc4d (patch)
treea6dda2c6d5eab41bdca39ea93d801e1cf9c94e9b /server/src/routes/ui/account/mod.rs
parente9185e5fb133fbf62d7cc86e644d2f9d272ba719 (diff)
downloadjellything-bcf0f3526883af82f129d0ddb0de484ded80fc4d.tar
jellything-bcf0f3526883af82f129d0ddb0de484ded80fc4d.tar.bz2
jellything-bcf0f3526883af82f129d0ddb0de484ded80fc4d.tar.zst
show player config in player itself
Diffstat (limited to 'server/src/routes/ui/account/mod.rs')
-rw-r--r--server/src/routes/ui/account/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/routes/ui/account/mod.rs b/server/src/routes/ui/account/mod.rs
index b778b64..0e4e0cc 100644
--- a/server/src/routes/ui/account/mod.rs
+++ b/server/src/routes/ui/account/mod.rs
@@ -206,7 +206,7 @@ pub fn format_form_error<T>(form: Form<Contextual<T>>) -> MyError {
}
MyError(anyhow!(k))
}
-
+
pub fn hash_password(username: &str, password: &str) -> Vec<u8> {
Argon2::default()
.hash_password(