Tweaks to database for users
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user