feat: got sqlx working with axum and leptos
This commit is contained in:
@@ -19,9 +19,6 @@ where
|
||||
let salt_string = hex::encode(salt.as_str().as_bytes());
|
||||
let password_string = hex::encode(&key[..]);
|
||||
|
||||
tracing::debug!("New password hash: {password_string}");
|
||||
tracing::debug!("New password salt: {salt_string}");
|
||||
|
||||
sqlx::query!(
|
||||
"UPDATE users SET password_hash = ?, password_salt = ? WHERE user_id = ?",
|
||||
password_string,
|
||||
|
||||
Reference in New Issue
Block a user