Updated API 422 Error Response

This commit is contained in:
2026-05-31 15:06:52 -04:00
parent 18738c399d
commit c1fdb5a1b7
8 changed files with 126 additions and 34 deletions
-2
View File
@@ -11,8 +11,6 @@ use crate::{
AppState,
};
const USER_FIELDS: &str = "id, username, email, password_hash, is_admin";
use argon2::{
password_hash::{rand_core::OsRng, PasswordHash, PasswordHasher, PasswordVerifier, SaltString},
Argon2,