aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 679204d..c252623 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -191,7 +191,9 @@ fn account_management(root: &Command, cmd: &AccountManagement, users: PathBuf) -
write_config(users.clone(), &ulist)?;
},
AccountManagement::Delete { login } => {
- unimplemented!();
+ tracing::debug!(user=login, "will-delete");
+ ulist.remove(&login);
+ write_config(users.clone(), &ulist)?;
},
AccountManagement::ChangePassword { login } => {
unimplemented!();