From 69f7b2d42ee15961221deffb6825b609e16c8fc7 Mon Sep 17 00:00:00 2001 From: Lu Yang Date: Thu, 28 Nov 2024 22:06:16 +0000 Subject: [PATCH] change some dashboard styles --- lapdev-dashboard/src/organization.rs | 6 +++--- lapdev-ws/src/server.rs | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lapdev-dashboard/src/organization.rs b/lapdev-dashboard/src/organization.rs index ffc8c48..db15357 100644 --- a/lapdev-dashboard/src/organization.rs +++ b/lapdev-dashboard/src/organization.rs @@ -261,18 +261,18 @@ pub fn OrgSettings() -> impl IntoView {

{"Manage your organization's settings"}

-
+
diff --git a/lapdev-ws/src/server.rs b/lapdev-ws/src/server.rs index 8e40f0e..75d2c59 100644 --- a/lapdev-ws/src/server.rs +++ b/lapdev-ws/src/server.rs @@ -389,7 +389,11 @@ impl WorkspaceServer { .output() .await?; - Command::new("userdel").arg(osuser).output().await?; + Command::new("userdel") + .arg("-f") + .arg(osuser) + .output() + .await?; tokio::fs::remove_dir(&workspace_base_folder).await?; tokio::fs::remove_dir_all(format!("/home/{osuser}")).await?;