aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-12-12 09:17:59 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-12-12 09:17:59 +0100
commit47e25cd7f710fcd82356377cf48eccf9f65d31cc (patch)
treeb847e1b83b6608047d666acc4856113604fc0dbd /src/main.rs
parent23f918fd0edb224668fb775c770075eb4f44ce4d (diff)
downloadaerogramme-47e25cd7f710fcd82356377cf48eccf9f65d31cc.tar.gz
aerogramme-47e25cd7f710fcd82356377cf48eccf9f65d31cc.zip
WIP
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!();