diff options
author | metamuffin <metamuffin@disroot.org> | 2023-06-05 20:28:00 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-06-05 20:28:00 +0200 |
commit | bcf0f3526883af82f129d0ddb0de484ded80fc4d (patch) | |
tree | a6dda2c6d5eab41bdca39ea93d801e1cf9c94e9b /server/src/routes/ui/account | |
parent | e9185e5fb133fbf62d7cc86e644d2f9d272ba719 (diff) | |
download | jellything-bcf0f3526883af82f129d0ddb0de484ded80fc4d.tar jellything-bcf0f3526883af82f129d0ddb0de484ded80fc4d.tar.bz2 jellything-bcf0f3526883af82f129d0ddb0de484ded80fc4d.tar.zst |
show player config in player itself
Diffstat (limited to 'server/src/routes/ui/account')
-rw-r--r-- | server/src/routes/ui/account/mod.rs | 2 |
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( |