From 3e65555d0f7ff4306eed49e9739762fe72ba8de1 Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Sat, 19 Nov 2022 18:41:49 +0100 Subject: [PATCH] Add additional comment --- src/controllers/admin_controller.rs | 1 + 1 file changed, 1 insertion(+) 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 => {