diff --git a/src/controllers/admin_controller.rs b/src/controllers/admin_controller.rs index 3c74045..2d192de 100644 --- a/src/controllers/admin_controller.rs +++ b/src/controllers/admin_controller.rs @@ -121,6 +121,7 @@ pub async fn users_route( .await .unwrap(); + // If the admin requested it, reset user password let new_password = match update.0.gen_new_password.is_some() { false => None, true => {