Tweaks to database for users

This commit is contained in:
2025-04-23 19:49:44 -04:00
parent 3b5514e825
commit ebc1f30f24
5 changed files with 32 additions and 14 deletions

View File

@@ -188,10 +188,12 @@ async fn change_password(
let update_user = UpdateUser {
email: None,
email_verified: None,
password: Some(password.into_inner()),
role: None,
first_name: None,
last_name: None,
avatar: None,
};
match update_user.update(&email).await {