feat: got sqlx working with axum and leptos

This commit is contained in:
Andrew Rioux
2025-01-24 15:31:10 -05:00
parent 8695685eb3
commit 814125d462
7 changed files with 72 additions and 10 deletions
-3
View File
@@ -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,